- Jun 17, 2001
- 658
- 0
- 0
I am running Windows XP Pro (SP1) and I have Mircosoft Visual Studio 6.0 Professional. As of right now I am only using Visual C++ for my programming class. Everything works fine, but after I have wirrten a working program and built it (complied and linked), the program will run fine in Visual C++, but if I try to run the .exe file from my computer without having Visual C++ loaded up, the program closes out the results of the program before they can be read. For example, Visual C++ adds in the feature where you press any key to exit the program. Well, for whatever reason, when the .exe is opened directly it will run the program fine, but it automatically closes the window without you even pressing any key to terminate the program. Any ideas on how to fix this? Thanks