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:
- In Visual Studio, in the toolbar, select Configuration Manager from the Solution Platforms list.
- In the Configuration Manager, in Active Solution Platform, select New.
- In Type or select the new platform, enter x86.
- Restart the application.