Jump to content
  • Advertisement
Sign in to follow this  
andyborowicz

What can cause the problem?

This topic is 4450 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

Can someone more advanced than I tell why this is happening? I wrote an application in C++ (VC6), as a Project of Win32App. I used some WinAPI. I compiled it and made an executable. It works on my machine just fine. But when I copy it (the .exe) to another computer and try to execute it, there is a message that 'It's not a proper Win-32 application' or sth. How is it possible and what to do to make a program work on every computer?

Share this post


Link to post
Share on other sites
Advertisement
Took the .exe from the Debug dir, burned it to a CD, went 50 km away, and copied it frm the CD to HDD. Then executed... Isn't it how we do it? :)

P.S.: On both machines the system is the same (WinXP).

Share this post


Link to post
Share on other sites
debug builds only run on PCs with the development environment installed.

Share this post


Link to post
Share on other sites
Yes. You still may need some dependent dlls depending on how you linked to the runtime libraries.

Share this post


Link to post
Share on other sites
Get a dependency checker program to also see what dll dependencies the exe has also. This will save you a lot of hassles.

theTroll

Share this post


Link to post
Share on other sites
Quote:
Original post by andyborowicz
'It's not a proper Win-32 application' or sth.


When something like this happens, you should really make a note of the exact error message. It'll make diagnosing the problem much easier.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!