Error When Running Generated Win32 Code on a 64 bit Machine

Problem: An error occurs in the client API code when myDatabase initializes on line :"_pid = com.sybase.afx.util.PidUtil.GetId();".

Solution: If you encounter an error when running generated Win32 device client code on a 64-bit machine:
  1. In Visual Studio, in the toolbar, select Configuration Manager from the Solution Platforms list.
  2. In the Configuration Manager, in Active Solution Platform, select New.
  3. In Type or select the new platform, enter x86.
  4. Restart the application.
Related concepts
SQL_MAX_ROW_SIZE_EXCEEDED
There is no object query selected for the {control_name} on screen {screen_name} Error
Related tasks
iPhone Code Generation Fails without Errors
Related reference
Extra Icon Appears on BlackBerry Device Application
Namespace Name Does Not Exist Error