糊涂跳跳糖

文章
4
资源
0
加入时间
3年1月12天

C#调用DLL示例和注意事项

1. 生成dll文件利用visual studio 2017新建一个windows控制台应用空项目。添加接口定义和实现相关的.h和.cpp文件,示例如下:# .h文件#pragma once#include <stdio.h>#include <stdlib.h>#include <iostream>#ifdef ImageHandleDLL_EXPORTS#define ImageHandle_EXPORTS