创建标准windows动态库
添加导出函数
声明导出函数 extern "C" int __cdecl myPuts(LPWSTR);
使用导出函数:myPuts((LPWSTR)L"Message sent to the DLL function\n");
使用静态库的导出函数前记得添加静态库lib文件依赖
创建标准windows动态库
添加导出函数
声明导出函数 extern "C" int __cdecl myPuts(LPWSTR);
使用导出函数:myPuts((LPWSTR)L"Message sent to the DLL function\n");
使用静态库的导出函数前记得添加静态库lib文件依赖