error when run app. in other computer
-
I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:
-
I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:
Make sure you're not trying to run the debug version of the program on the other program. Use the release version.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
Make sure you're not trying to run the debug version of the program on the other program. Use the release version.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
:confused: I assume you mean you have tried the release version. What was the error you got?
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:
leenmie wrote:
When I run it on other computer, error like above too
The problem you’re experiencing is a dependency issue. If you’re running W2k then you can open the exe with dependency walker to figure out which dlls you need to include with the exe (distribute). If the computer is a Windows XP system, there is a new paradigm for dealing with DLLs. It’s called SXS (side by side) DLL support. In other words it allows the target computer to run multiple versions of the same DLL. This was done to eliminate DLL hell issues. What this means to you is, your app will now need an installer to add the new DLLs to the system. Redistributing Visual C++ Files[^] http://msdn2.microsoft.com/en-us/library/ms235285.aspx[^] http://blogs.msdn.com/nikolad/archive/2005/09/02/460368.aspx[^]
-- modified at 2:23 Monday 13th February, 2006
-
I made a win32 application by VS2005. Im not using MFC, just use standard win32 api ( the option in General of Project Setting is Use Standard Windows Libraries). But when I run my app. on other computer, it failed (an error and advice reinstall ....). And then, i make a blank app for a test. It's a default application when create a win 32 project. When I run it on other computer, error like above too. What's the problem ???:doh:
See the FAQ 8.2 A program I've written doesn't load when it's run on a computer without Visual C++ installed. Why?[^] --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ