打开用户管理器
ProgramExecute(\"\");
取消激活
#include \"\"
void OnLButtonDown(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName, UINT nFlags, int x, int y)
{
#pragma option(mbcs)
HWND hwnd=NULL;
int iRet;
hwnd=FindWindow(NULL,\"WinCC-运行系统 - \");
01-1\steady_time\
\".A30-1\A30-10\
\".A31-1\A31-10\
char *chr_current;
char *pos;
HWND hWnd=NULL;
hWnd=FindWindow(NULL,\"WinCC-运行系统 - \");
chr_current=SysMalloc(30); //Return-Type: void*
pos=SysMalloc(10); //Return-Type: void*
pos=GetTagChar(\"current\");
//--------------Get Value-----------------------------------
if(GetTagWord(\"current\")>=1)
{
for(i=0;i<39;i++)
{
strcpy(chr_current,\"stru_pos_\");
strcat(chr_current,pos);
strcat(chr_current,houzui[i]);
mid_value[i]=GetTagFloat(chr_current);
}
//-------------------------muti send---------------------------------------
start_flag=GetTagWord(\"start\");
end_flag=GetTagWord(\"end\");
if(start_flag<=end_flag)
{
for(i=start_flag;i<=end_flag;i++)
{
SetTagWord(\"mid_pos\
pos=GetTagChar(\"mid_pos\");
for(j=0;j<39;j++)
{
strcpy(chr_current,\"stru_pos_\");
strcat(chr_current,pos);
strcat(chr_current,houzui[j]);
SetTagFloat(chr_current,mid_value[j]);
}
}
MessageBoxA(hWnd,\"群设置完成!\
Send\
}
else
MessageBoxA(hWnd,\"起始位需小于等于结束
位!\
}
else
MessageBoxA(hWnd,\"当前位号误!\
}
输入错
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- huatuowenda.com 版权所有 湘ICP备2023022495号-1
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务