天天看点

使用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]