发布于 2006-03-25 10:05:45
0楼
#include "apdefap.h"
pig(int ooo)
{
int kkk;
int lll;
kkk=GetTagWord("ooo"); //Return-Type: WORD
lll=kkk+1;
SetTagWord("ooo",lll); //Return-Type: BOOL ;
return ooo;
}
这是新建的一个函数,以下用一个按钮调用的代码
#include "apdefap.h"
void OnLButtonDown(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName, UINT nFlags, int x, int y)
{
pig("mmm"); //Return-Type: long int
// WINCC:TAGNAME_SECTION_START
// syntax: #define TagNameInAction "DMTagName"
// next TagID : 1
// WINCC:TAGNAME_SECTION_END
// WINCC:PICNAME_SECTION_START
// syntax: #define PicNameInAction "PictureName"
// next PicID : 1
// WINCC:PICNAME_SECTION_END
}编译出现0069错误。
请各位帮助。