Who moved my cheese? - I mean SimConnect.dll?

User avatar
ronh991
Posts: 694
Joined: Sat Jan 19, 2013 1:46 am
Location: Ontario, Canada

Who moved my cheese? - I mean SimConnect.dll?

Postby ronh991 » Sat Jun 17, 2017 7:22 pm

I am trying to play with delphi (lazarus) and modify a program that used the simconnect.pas files to interface with MS Flight Simulator. So I thought, maybe I can do this with Prepar3d v4. The simconnect.pas file tries to load simconnect.dll, but when I try to look for it in WinSXS I only find the MS versions. I don't even see it in the P3D main folder.

So, if a developer would like to get fancy and load the dll to communicate with P3D, is it now the through the PDK some how. Are there any examples? LM please help me find my cheese ....
Ron

Aspiring Prepar3d beta tester

JeeHell
Posts: 55
Joined: Sun Jan 15, 2012 11:04 pm

Re: Who moved my cheese? - I mean SimConnect.dll?

Postby JeeHell » Mon Jun 19, 2017 1:00 pm

You can use the .lib from the SDK to make a C dll that will work just like the legacy simconnect.dll. it will work with the header file in Delphi/Lazarus, though you'll need to add the declaration for recent additions in the library...

User avatar
ronh991
Posts: 694
Joined: Sat Jan 19, 2013 1:46 am
Location: Ontario, Canada

Re: Who moved my cheese? - I mean SimConnect.dll?

Postby ronh991 » Mon Jun 19, 2017 3:14 pm

I am just trying to emulate what was done for P3D v3.x. I am using LoadLibrary("Simconnect.dll"). However , there is no simconnect.dll anymore in v4. At least I can't find it.
Ron

Aspiring Prepar3d beta tester

JeeHell
Posts: 55
Joined: Sun Jan 15, 2012 11:04 pm

Re: Who moved my cheese? - I mean SimConnect.dll?

Postby JeeHell » Tue Jun 20, 2017 1:30 pm

I did not say it was "work free". I said it is possible for you to build your own simconnect.dll using the SDK files (simconnect.h and simconnect.lib).

User avatar
WarpD
Posts: 1056
Joined: Mon Feb 14, 2011 5:29 am

Re: Who moved my cheese? - I mean SimConnect.dll?

Postby WarpD » Tue Jun 20, 2017 3:31 pm

I believe starting with v3 Lockheed Martin made SimConnect a part of the core sim and not a stand-alone DLL. They did away with the entire SxS concept.
Ed Wilson
Senior Developer
Mindstar Aviation

User avatar
ronh991
Posts: 694
Joined: Sat Jan 19, 2013 1:46 am
Location: Ontario, Canada

Re: Who moved my cheese? - I mean SimConnect.dll?

Postby ronh991 » Tue Jun 20, 2017 4:47 pm

Thanks guys, guess I have some things to mull over.

lol - did not even realize that v3 was missing the dll too.
Ron

Aspiring Prepar3d beta tester


Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 2 guests