C# Error after compile / Simconnect

#1
Hello
i made a simple test app that request speed alt hdg and ptitch of the user with the simconnect "C#" P3D v4
i compile without error but once i lunch it i get this (image attached)
in the pic i use the debug mode to let you see the LOG
any ideas
thnx in advance :)
 

Attachments

#4
Hi,

missing the reference you wouldn't be able to compile.

my guess: you are compiling your assembly for "Any CPU". This cannot work for the SimConnect managed .dll, as it is x64 only. So, change the processor target to x64 and you should be good to go.

Greets, Benny
 
Top