I developed a MFC app, my problem is when i try run this app on another computer dosen't work.
On my computer runs perfectly.
What could be the problem?
Maybe some missing MFC dll....?
The error returned is that the program do not run because incorrect configuration.
You could compile a statically linked version. If that works on the other machine, then its a missing dll. Visual Studio 6.0 came with a tool called Depends that checks all dependencies for your program. If you don't have that you can get Dependency Walker : Dependency Walker (depends.exe) Home Page
Thanks for helping
How can i re compile using static link?
It depends on what environment you are using. In Visual Studio 2003 select the menu item : Project->Properties. In the Configuration Properties->General->Use of MFC choose "Use MFC in a static library".
I just looked and its the same for VS 2005. In Visual Studio 6, Project->Settings->General Tab, top combo box choose "Use MFC in a static library".
Change to static dll fixed the problem.
Originally Posted by DaveH
i also met the same problem before, hehe!
but i never know Dependency Walker till now, i access the tool homepage URL, looks cool. :-)