When using API communications with Windows XP SP2, make sure you use Windows Update to install the following patch:
Update for Windows XP Service Pack 2 (KB884020).
You cannot use the API on the display unit unless it has TCP/IP settings. Be sure to check that the network settings have TCP/IP protocol installed.
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.).
Device Access API Restrictions
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 the display unit to standby while the 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 ReadSymbol(), ReadSymbolVariant(), WriteSymbol(), WriteSymbolVariant() APIs, you cannot use any array variable that exceeds the following array sizes.
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 version 1.10, control Pro-Server EX separately.
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 the clipboard, LPVARIANT may 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.
When using the [Set number of files in destination folder on external storage] property, you cannot access the CF card by specifying the type via the WinGP SDK before GP-Pro EX V3.60 or via the device access API before Pro-Server EX V1.32.
Device access API cannot use indirect devices.
When defining the folder and file name, use the [System Language] as defined in the [Display] tab. From the [Project] menu point to [System Settings] and click [Display Unit]. When you use a language other than the system language, file and folder names may not display the characters you entered.