头文件
extern "C" _declspec(dllexport)void AddFunction();
cpp文件
extern "C" _declspec(dllexport) void AddFunction()
{
AfxMessageBox(_T("dll_function"));
}
头文件
extern "C" _declspec(dllexport)void AddFunction();
cpp文件
extern "C" _declspec(dllexport) void AddFunction()
{
AfxMessageBox(_T("dll_function"));
}