头文件
extern "C" _declspec(dllexport)void AddFunction();
cpp文件
extern "C" _declspec(dllexport) void AddFunction()
{
AfxMessageBox(_T("dll_function"));
}
2023-10-21 11:17:52
头文件
extern "C" _declspec(dllexport)void AddFunction();
cpp文件
extern "C" _declspec(dllexport) void AddFunction()
{
AfxMessageBox(_T("dll_function"));
}