天天看點

使用dll,将image庫開放出去

 這是很經典的想法了,但是如何來做,不經過摸索不知道細節。

最簡單:

dll處

#include "stdafx.h"

#ifdef _DEBUG

#define new DEBUG_NEW

#endif

#define DllExport _declspec (dllexport)

DllExport double aValue =1.5;

DllExport int dlladd()

{

                 return 5;

}

DllExport int dlladd( int a,int b)

                 return a+b;

demo處

#define DllImport _declspec (dllimport)

// 用?于應|用?程式“關?于”菜?單項?的? CAboutDlg 對?話框

DllImport int dlladd( int a,int b);

配置

使用dll,将image庫開放出去
使用dll,将image庫開放出去

目前方向:圖像拼接融合、圖像識别

聯系方式:[email protected]