| #include <windows.h>
#include "stdio.h"
extern "C" {
__declspec(dllexport) void __stdcall MsgBox
(HWND hWnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
{
char buff[1024];
wsprintf( buff, "%s : %d", lpszCmdLine, nCmdShow );
MessageBox( hWnd, buff, "MsgBox", MB_OK );
}}
| |