#include <windows.h>
#include "J_SDK.H"
int WINAPI WinMain( __in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in LPSTR lpCmdLine, __in int nShowCmd )
{
J_PROTECT_START
int x=::MessageBoxA(0,"www.jococ.com","jsoft",MB_OK);
J_PROTECT_END
return x;
}
...
J_PROTECT_END没有见过~
J_PROTECT_END
加这个有啥用处?这个消息框有啥优势?
#define J_PROTECT_START while(TRUE){
#define J_PROTECT_END }
int WINAPI WinMain( __in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in LPSTR lpCmdLine, __in int nShowCmd )
{
J_PROTECT_START
int x=::MessageBoxA(0,"www.jococ.com","jsoft",MB_OK);
J_PROTECT_END
return x;
}