wicc常用c动作(Wicc common C action).docVIP

  • 26
  • 0
  • 约 26页
  • 2017-08-31 发布于河南
  • 举报
wicc常用c动作(Wicc common C action)

wicc常用c动作(Wicc common C action) C actions commonly used in Wincc 2011-07-19 09:52 1. user logout: #pragma code (useadmin.dll) #include PWRT_api.h #pragma, code () PWRTLogout (); 2. user login: #pragma code (useadmin.dll) #include PWRT_api.h #pragma, code () PWRTLogin (c); 3. close the project and exit wincc: ExitWinCC (); 4. quit running to the WinCC explorer: DeactivateRTProject (); 5. end the monitor and close the computer (pop up the confirmation dialog) HWND hWnd = NULL; //Author:Smartsys Int iRet; HWnd = FindWindow (NULL, WinCC- running system -); IRet=MessageBox (hWnd) ends monitoring an

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档