Sign in to follow this  
andyborowicz

What can cause the problem?

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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this