Thread: error simconnect_open
09-23-2008, 11:19 AM #1
- Join Date
- Sep 2008
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?
10-07-2008, 08:33 AM #2
- Join Date
- Apr 2007
- Lafayette, LA USA
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.John
ASUS P5Q SE/R
Intel Q9550 O/C to 3.4 GHz
4 GB 1066 DDR2 RAM
300 GB WD 10,000 RPM Raptor SATA Drive
GeForce 8800 GT 512 KB RAM
Matrox TH2Go with three 19" Sumsung 940 BX
IR Track 4
10-07-2008, 08:39 AM #3
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.God's in command, I'm just the Pilot.
By djcevera20 in forum I/O Interfacing Hardware and SoftwareReplies: 0Last Post: 05-16-2009, 04:21 PM
By gio62 in forum MyCockpit Member MeetingsReplies: 0Last Post: 06-04-2008, 06:00 PM
By Radar in forum Computer Hardware SetupReplies: 7Last Post: 11-14-2007, 08:30 AM
By christianeme in forum FS2Phidget UsersReplies: 4Last Post: 09-22-2005, 05:52 AM
By imported_darrens in forum FS2Phidget UsersReplies: 2Last Post: 08-22-2005, 08:04 AM