15,471
社区成员
发帖
与我相关
我的任务
分享
#if !defined(AFX_STDAFX_H__572CA89B_5187_4DD8_B8AD_95750473D389__INCLUDED_)
#define AFX_STDAFX_H__572CA89B_5187_4DD8_B8AD_95750473D389__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <windows.h>
#endif // !defined(AFX_STDAFX_H__572CA89B_5187_4DD8_B8AD_95750473D389__INCLUDED_)
#ifdef __cplusplus
extern "C" {
#endif
_declspec(dllexport) _stdcall test(int , char[10] ,char[10] );
#ifdef __cplusplus
} // extern "C"
#endif
#include "stdafx.h"
extern "C" __declspec(dllexport)
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
extern "C" __declspec(dllexport)
int __stdcall test(int ico , char Information[10] ,char Tit[10] )
{
MessageBox(NULL,Information, Tit ,MB_YESNO+ico);
return 0;
}