Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling problem.

Status
Not open for further replies.

Mud525

Programmer
Jan 30, 2002
8
US
I am having trouble when I compile my EXE everything goes okay, but when I run the EXE it brings up a dos prompt saying "program too big to fit in memory". It is only 188kb. I am using ADO to access SQL Server. Any guidance is much appreciated
 
Make sure your virus scan software is updated and run it. I remember a virus that affects .exes and gives that message when they are run. I will dig a little to see if I can find the virus name.
 
Thanks for the info, but I have scanned my computer with no sign of a virus. Any other ideas???
 
I'm compiling on Windows XP. I have compilied the program before and deployed it to Win XP and Win 2k. It started all of a sudden. I don't get it.
 
1) Are you trying to run it on the same XP system?
2) Do you have a copy of any of the other exe's you compiled that worked before?
3) Do those exe's still work now?
 
I still have old exe's that work. I can run them on the development machine and others. The old one runs on both XP and 2K.
 
Let me see if this is correct:
You compiles an app on an XP machine. It worked on that machine and and others.
Recently you compiled a newer version of the same app on the same XP box and you get this error only with the new version on XP and W2K?
 
That's it. And get this. I just recompiled it and it works! But I'll bet you anything that if I do it again it won't. This machine is brand new too. I just did a fresh install less than a month ago. It's too weird.
 
Not that I can offer any reason why it happened to you, but a very common reason for the "program to big" error, is a corrupted executable.
 
Yeah, but it shouldn't compile into a corrupt executable. Thanks a lot for the help and input. I just hope I don't have to modify this thing again anytime soon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top