SimConnect_CallDispatch dont call my dispatch procedure

softeksim
Posts: 43
Joined: Mon May 16, 2011 1:48 pm

Postby softeksim » Wed Dec 14, 2011 8:48 am

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




softeksim
Posts: 43
Joined: Mon May 16, 2011 1:48 pm

Postby softeksim » Wed Dec 14, 2011 10:03 am

Solved: raise exception, was need describe dot.net target in app.exe.Config


Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 10 guests