#pragma code ("kernel32.dll");
VOID Sleep(DWORD dwMiliseconds);
int RetMsg;
// WINCC:TAGNAME_SECTION_START
// syntax: #define TagNameInAction "DMTagName"
// next TagID : 1
// WINCC:TAGNAME_SECTION_END
Sleep(3000);//3秒
RetMsg = MessageBox (NULL, "Error calling the API functions", "System error", MB_OK);