Jump to content
  • Advertisement
Sign in to follow this  

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line

This topic is 1986 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just installed Windows 7 on a PC and getting that error message when I try to run D3D9 application, even the runtime library is set to "Multi-threaded (/MT)"

Any idea how to make the application run without having to install applications other than pure Windows 7?

Share this post


Link to post
Share on other sites
Advertisement
that usually is a problem with the MS C++ DLLs. that or your manifest. by chance did you look at what the event logger stated?

Share this post


Link to post
Share on other sites
I think the problem was resolved after installing C++ runtime files, but I want the program to work even if C++ runtime files are not installed, so I can have portable software.

Share this post


Link to post
Share on other sites
as part of your installer then you will have to check if they are installed and install them if they are not. you could either download them from MS's website and/or host it locally (thats what i did on previous projects) or include it as part of the installer (increasing download size) if your using NSIS check their page for examples.

Share this post


Link to post
Share on other sites
I have many games working without having to install them or install any runtime files other than pure Windows 7 and they are made in C++ and DirectX, maybe they are using static libraries? I want the software to be portable (no installer).

Share this post


Link to post
Share on other sites
For DX9 you needn't install the newest version of dx sdk. Try to compile your project with older version such as dxsdk_2007apr, the library d3dx9_33.dll is install by default in win7.

Share this post


Link to post
Share on other sites
AFAIK its a runtime issue. which version of visual studios are you using?

VS2010 uses the MS C++ 2010 runtime (most likely installed on windows 8. no clue of 7. most likely not installed on XP)

if you want the "most portable" code. don't use standard C functions so you don't need to link to the C runtime. i good way to check which libraries you actually need is to set the compiler to "ignore all default libraries" and see where the linker fails. then decide if you are willing to link to that library or rewrite the function(s) you need from that library.

ex. if you are using fopen. i THINK you can use createfileex instead and reduce your dependencies.

static linking could help but if your using a 3rd party library you will have to match the dll linking they used.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!