Error When Running Generated 32-bit Windows 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 32-bit Windows 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
Windows Mobile Code Generation Fails During Compilation
Related tasks
iOS Code Generation Fails without Errors
Related reference
Extra Icon Appears on BlackBerry Device Application
Namespace Name Does Not Exist Error