October 27, 200718 yr I'm working on an add-on for FSX using SimConnect. My app is written in pure C/WIN32. I'm linking the SimConnect.lib from the latest version of the SDK, but it will not run without the SimConnect.dll file being located in the same dir as the exe. I've installed all of the SP's and Acceleration and have 3 versions of SimConnect.dll in the WinSxS dir. I get the error message 'This application has failed to start because SimConnect.dll was not found. Re-installing the application may fix this problem'. This message is displayed when I execute the app, even before I attempt to connect. If I copy the SimConnect.dll into the dir with my app exe, it works fine.Anybody have any ideas?thanks in advance-David
October 27, 200718 yr Commercial Member >I'm working on an add-on for FSX using SimConnect. My app is>written in pure C/WIN32. I'm linking the SimConnect.lib from>the latest version of the SDK, but it will not run without the>SimConnect.dll file being located in the same dir as the exe. >I've installed all of the SP's and Acceleration and have 3>versions of SimConnect.dll in the WinSxS dir.You need a manifest file in the same folder as your EXE, or built into is as a RT_MANIFEST type resource. Check the SimConnect documentation.A manifest file you can use is supplied in the SDK. You just need to rename it. Or, if you compiled with Microsoft Visual Studio and use the SDK supplied SimConnect.h, there's an option in the "Properties" for your project to produce a manifest file automatically (from the data in the header file), and, for VS .NET 2005 or later, to build one in as a resource. For older versions you can build them in using the Manifest Tool utility (MT.EXE).RegardsPete Win10: 22H2 19045.2728 CPU: 9900KS at 5.5GHz Memory: 32Gb at 3800 MHz. GPU: RTX 24Gb Titan 2 x 2160p projectors at 25Hz onto 200 FOV curved screen
October 27, 200718 yr Pete,Thanks, that did the trickAnd the answer was under my nose the whole time :)thanks again-David
Create an account or sign in to comment