ymw2
asked on
Difference betw Debug & Release Versions
Hi
When I execute my debug exe, the application work fine.... But it doesn't seem working on the release exe with the exact source code...
Anyone know the reason behind it?? How to remedy it???
When I execute my debug exe, the application work fine.... But it doesn't seem working on the release exe with the exact source code...
Anyone know the reason behind it?? How to remedy it???
ASKER
But I'm using VC++ 6.0..... :-(
Maybe Microsoft hasn't yet fixed it. However, you could try certain things:
Make sure that the project settings refer to the release libraries.
Rebuild and not build your program.
Hope it helps.
Thanks
pagladasu
Make sure that the project settings refer to the release libraries.
Rebuild and not build your program.
Hope it helps.
Thanks
pagladasu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what error/errors do you get when you try to run in release mode? you can also build release mode with debug info.
good luck,
mikem
good luck,
mikem
It is possible that the compiler/optimizer is causing trouble. I have seen problems in the past. To test, Set to Release version, go to menu Project/Setting use the C++ tab, set the optimization to off and re-build your project. If this un-optimized "Release" version works then you have code with an optimizer bug. Lots of Luck.
You can turn the optimizer off you individual source code cpp files if necessary.
By the way, I am professionally using Visual C++ 5.0 because it is relatively bug free. We trail about a year behind Microsoft to give them a chance to find the bugs and issue service packs.
You can turn the optimizer off you individual source code cpp files if necessary.
By the way, I am professionally using Visual C++ 5.0 because it is relatively bug free. We trail about a year behind Microsoft to give them a chance to find the bugs and issue service packs.
ASKER
Ya rite
If you are using VC5.0 or LOWER, it is well known that release versions don't work. It is soppused to be fixed in VC6.0 although i didn't try it myself yet.