Results 1 to 3 of 3
  1. #1
    New Member
    Join Date
    Sep 2008
    Location
    Barcelona
    Posts
    4
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

  2. #2
    300+ Forum Addict jmig's Avatar
    Join Date
    Apr 2007
    Location
    Lafayette, LA USA
    Posts
    422
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

    System:
    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

  3. #3
    1000+ Poster - Fantastic Contributor AndyT's Avatar
    Join Date
    Jun 2006
    Location
    Oahu, Hawaii
    Posts
    1,236
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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.
    http://www.geocities.com/andytulenko/

Similar Threads

  1. what is this error message
    By djcevera20 in forum I/O Interfacing Hardware and Software
    Replies: 0
    Last Post: 05-16-2009, 04:21 PM
  2. error
    By gio62 in forum MyCockpit Member Meetings
    Replies: 0
    Last Post: 06-04-2008, 06:00 PM
  3. Error
    By Radar in forum Computer Hardware Setup
    Replies: 7
    Last Post: 11-14-2007, 09:30 AM
  4. Run-time error 76
    By christianeme in forum FS2Phidget Users
    Replies: 4
    Last Post: 09-22-2005, 05:52 AM
  5. Run-time error 429
    By imported_darrens in forum FS2Phidget Users
    Replies: 2
    Last Post: 08-22-2005, 08:04 AM