When using the API with Windows XP SP2, make sure you use Windows Update to install the following patch: Update for Windows XP Service Pack 2 (KB884020).
All the text information on the handling API are in Unicode. In API, the version information and the project information are read in Unicode. Convert the code if you wish to use the information in another text code (ASCII, etc.).
You cannot use the handling API in IPC unless it has TCP/IP settings. Be sure to check that the network settings have TCP/IP protocol installed.
To use the device access API, start WinGP first. An error results if you use the device access API without starting WinGP. A timeout error results if you start the device API after exiting WinGP.
Do not set IPC standby while API is communicating using the user application.
A user application should control such that IPC goes to standby mode only after the operation of device access API is completed.
To add a protocol to update the Pro-Server EX version, you need to install the protocol module updated in GP-Pro EX to IPC with WinGP SDK installed.
In ReadSymbolD(),ReadSymbolVariantD(),WriteSymbolD(),WriteSymbolVariantD() API, you cannot use any array variable that exceeds the following array size.
Array variable type |
Maximum size accessible with WinGP API communication |
---|---|
Bit Variable |
255 |
Integer Variable |
510 |
Float Variable |
510 |
If you install Pro-Server EX V1.10, you have to control Pro-Server EX separately.
You cannot use the device API in IPC unless it has TCP/IP settings. Be sure to check that the network settings have TCP/IP protocol installed.
If you exit WinGP while accessing the device access API, all the returns from API result in an error.
If you compile the header created in Visual C++ Ver.6, C:\Program files\Pro-face\WinGP\SDK\VC\Public\ProEasy.h or Pro-Studio [Programming Support]-[VC:Statement] via clip board, LPVARIANT might result in an undefined error. LPVARIANT is defined in afxdisp.h. Include this by defining #include <afxdisp.h> in stdafx.h to avoid an error.