SimConnect_CallDispatch dont call my dispatch procedure

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Locked
softeksim
Posts: 43
Joined: Mon May 16, 2011 1:48 pm

Post 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



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

Post by softeksim »

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