- Messages
- 76
Hi All -
I have two programs that use the SimConnect library. One built using VS2008 makefile which compiles a DLL which works perfectly.
I use an almost identical source code for a .exe that fails. I've tried using makefile, VS2010, etc, but the code:
#pragma comment(linker,"/manifestdependency:\"type='win32' " \
"name='" "Microsoft.FlightSimulator.SimConnect" "' " \
"version='" "10.0.61259.0" "' " \
"processorArchitecture='x86' " \
"publicKeyToken='" "67c7c14424d61b5b" "'\"")
inside the SimConnect.h is causing an application failed to start because of incorrect configuration error. I use the same exact .h and .lib for simConnect. The manifest file has the same info for SimConnect in both dll and exe codes.
Any idea why the .exe might be complaining?
I have two programs that use the SimConnect library. One built using VS2008 makefile which compiles a DLL which works perfectly.
I use an almost identical source code for a .exe that fails. I've tried using makefile, VS2010, etc, but the code:
#pragma comment(linker,"/manifestdependency:\"type='win32' " \
"name='" "Microsoft.FlightSimulator.SimConnect" "' " \
"version='" "10.0.61259.0" "' " \
"processorArchitecture='x86' " \
"publicKeyToken='" "67c7c14424d61b5b" "'\"")
inside the SimConnect.h is causing an application failed to start because of incorrect configuration error. I use the same exact .h and .lib for simConnect. The manifest file has the same info for SimConnect in both dll and exe codes.
Any idea why the .exe might be complaining?