-
error simconnect_open
hello,
I'm trying to open a conection with simconnect and when I use the instruction "simconnect_open", the system display an error called: "Declare DLL call caused an exception". Anybody knows what's happening?
firstly I defined the api function like:
Declare SimConnect_Open IN SimConnect.dll long phSimConnect , string szName , long hWnd , long UserEventWin32 , long hEventHandle , long ConfigIndex
and then I call the funtion with the next instruction:
hr = SimConnect_Open(hSimConnect, "MYAPP", 0, 0, 0, 0)
I'm programming in Visual FoxPro.
Can anybody help me?
Thank's
-
I noticed that no one has been able to help you. AVSIM.com has a Sim-connect forum. You might want to ask there.
Not many of us, if any, use it here. It is either, PM, SIOC or FSUIPC.
-
Is FoxPro a 'Managed Language' ? If not, it won't work and you will have to use a different language. Or at least claims Microsoft in the Simconnect Docs.
Any version of .net will work.