   My application only works on my machine
  Hi,Lately I have been working on a application, and later on I found out that it only works on my machine (xp). Every other machine gets  the following error: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.If I compile it under visual studio 2005 as multi-threaded DLL , it doesnt work. Same with /MT multi-threaded. This is what I am linking atm: MSVCRT.lib MSVCRTD.lib opengl32.lib glu32.lib glut32.lib glew32.lib glew32s.lib DevIL.lib ILU.lib ILUT.libAnd ignoring LIBC.lib LIBCD.libWhat am I doing wrong? Even without glew I still got the chrasing. So I am only useing DevIL, GLUI and Glut as a external library! I got the 3 DevIL dll files in my application directory.Greetings, Mic   
  Make sure the Visual C++ Runtime is installed on the other computers. I'm assuming your using C++. Also, are you making sure to distibute a 'Release' build of your applications.Check Out This Article On MSDN about distributing Visual C++ Apps built with VS 2005. It describes your issue and a resolution to it.   ;  I am not sure if this is correct, but it may have to do with the fact you are not supplying the DLLs needed for something such as OpenGL to the user. With directx I find it common for a specific dll to be missing when I try to show friends my work. Only thing that comes to my mind, hope you figure it out.   ;  (Edit: After re-reading your post, apparently you already tried Multi-Threaded instead of MT DLL.  That worked for me...)   ;  I was told theres an option in Visual C++ 2005 which compiles for the .net framework.  Look around in your compile options and disable it.   ;  The second posts answers it.If he doesn't use .NET, then you don't need .NET runtimesThere is a tool that comes with VS called Depends. It can show what DLLs something needs, unless you dynamically load a DLL.Also, you need to upload graphics drivers o the target system and have whatever video card you require.   ;  Hi,Thanks for your help people. Eventually I need to load in dll files dynamically. What I am going to do is the following: Clean up the code without any dependancy, and put every module back in again till it stops working on other machines. The project was acting wierd anyways (it couldn't detect a error in my code and sometimes some files dissapeard from my project). It's also a converted project from visual studio 6.0. Greetings, Mic   ;  OMG I got it working!!!The problem is this I think: When the project was converted to a visual studio 2005 project, it made the project automatically as a .net framework project. So, I am never going to convert a visual studio 6.0 project to a 2005 project automatically ever again!Greetings, Mic   ;  And now I found out that still some machines cant run it. I am getting so sick of visual studio right now...   ;  Try compiling with static runtime libraries (Multithread Debug or just Multithreaded under C++->Code Generation, IIRC).Edit: Oops, says you're already doing that. Make sure that no libraries are using DLL runtimes (DevIL, ILU and ILUT might be, check them out).   