Executable will only run on source computer.

Just starting out? Need help? Post your questions and find answers here.
User avatar
Columbo
Enthusiast
Enthusiast
Posts: 303
Joined: Wed Sep 10, 2014 7:17 am
Location: Ontario Canada
Contact:

Executable will only run on source computer.

Post by Columbo »

I created a small database to track my wife's vitals and compiled it to an .exe. I double click the .exe and it runs perfectly.
I then copied the .exe over to my other computer and it will not run. It loads the screen but then the screen goes gray and I get a dialog that says the program has stopped working. I copied the .exe to my wife’s computer and tried it there but I get the same dialog, yet it works perfectly on my original computer that I used to program and compile it. I have never had this happen before. Any ideas as to what’s going on?

BTW: I have the “Create temporary executable in the source directory” checked.

[Edit] I just tried running the .exe from another location on my original computer and it won't run there either. It will only run from the original folder that it was programmed in.

Thanks
http://www.oldtimeradiotoday.com - Listen to or download classic old time radio broadcasts.
User avatar
HeX0R
Addict
Addict
Posts: 973
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Executable will only run on source computer.

Post by HeX0R »

Add this to your source and recompile.
infratec
Always Here
Always Here
Posts: 6810
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Executable will only run on source computer.

Post by infratec »

You are talking about a 'screen'.

Maybe you need the Engine3D.dll in your directory.
User avatar
Columbo
Enthusiast
Enthusiast
Posts: 303
Joined: Wed Sep 10, 2014 7:17 am
Location: Ontario Canada
Contact:

Re: Executable will only run on source computer.

Post by Columbo »

That worked. Thanks HeXOR, much appreciated.
http://www.oldtimeradiotoday.com - Listen to or download classic old time radio broadcasts.
Post Reply