Page 1 of 1

Posted: Wed Dec 14, 2011 8:48 am
by softeksim
Hello,



SimConnect connected to Prepar3D normally, Events from simulator go away but MyDispatchProcRD procedure don't calling in client application:



while( (quit == 0) && (hSimConnect != NULL))

{

if (hSimConnect != NULL) {

hr = SimConnect_CallDispatch(hSimConnect, MyDispatchProcRD, NULL);

}

}



System Windows 7 64-bit, Prepar3D SDK 1.2.3253.0, Visual Studio 2010.

How reason may to this trouble?



Best Regards,

Maxim Enbaev




Posted: Wed Dec 14, 2011 10:03 am
by softeksim
Solved: raise exception, was need describe dot.net target in app.exe.Config