I want to create An AI Aircraft or truck using Simconnect Library.
When I developed using managed code like Managed_AI_Waypoints example everything is OK.
But I try to develop using C++. and in C++ it did not work correctly.
Even When I Compile and run AIObjectsAndWaypoints and AITraffic, When I Press Z button nothing happened but when I Open A dialog on P3D and Close it, and then press X button, Aircraft and truck added to scenery.
Please help me!