DiscDur
09-23-2008, 11:19 AM
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'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