473,385 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Release build inconsistant behaviour

We distributed an VS6 "C" executable.(Built on WIN2K with release mode.)
Surprisingly we are finding runtime errors for q workflow on all XP m/c and
some of the WIN2K systems.All the WIN2K pcs we used for testing never shown
any such error.
If you have any idea of this strange bahaviour.Please let me know.Appretiate
your help in advance.
(NOTE: On XP when it throws runtime error,I am able to track the root
cause,I am keen to know why is it hidden on WIN2K OS)

Nov 17 '05 #1
4 985
>We distributed an VS6 "C" executable.(Built on WIN2K with release mode.)

What else did you install with it? Have you installed the (correct)
versions of any DLLs your program depends on?
Surprisingly we are finding runtime errors for q workflow on all XP m/c and
some of the WIN2K systems.


Have a look at "Common Problems Switching from Debug to Release Build"
in your VC++ help.

If those don't help you'll need to debug your release version to
locate the cause - see "Turn on Generation of Debug Information for
the Release Build" in your VC++ help.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #2
Dave
First thanks a lot for your valuable inputs.I am not using any dlls, mine
is plain C application built on Visul studio 6 with release version.Whats
driving me nuts is the same executable runs fine on WIN2K,but throws run time
error alwasys on XP for some workflows/steps.
Can anyone help me whats this missing link...
thanks
sam
"David Lowndes" wrote:
We distributed an VS6 "C" executable.(Built on WIN2K with release mode.)


What else did you install with it? Have you installed the (correct)
versions of any DLLs your program depends on?
Surprisingly we are finding runtime errors for q workflow on all XP m/c and
some of the WIN2K systems.


Have a look at "Common Problems Switching from Debug to Release Build"
in your VC++ help.

If those don't help you'll need to debug your release version to
locate the cause - see "Turn on Generation of Debug Information for
the Release Build" in your VC++ help.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Nov 17 '05 #3
>First thanks a lot for your valuable inputs.I am not using any dlls, mine
is plain C application built on Visul studio 6 with release version.
Presumably you're using some 'C' run-time functions, so are you
statically linking the run-time? Have you checked your dependencies
using the Depends utility (http://www.dependencywalker.com/)?
Whats
driving me nuts is the same executable runs fine on WIN2K,but throws run time
error alwasys on XP for some workflows/steps.


As I mentioned, try debugging your release build (on the machine where
the problem occurs).

Dave
Nov 17 '05 #4
(NOTE: On XP when it throws runtime error,I am able to track the root
cause,I am keen to know why is it hidden on WIN2K OS)


What was the reason of the problem on XP? If you share it with us,
it will be much easier to explain why it was not reproducible on Win2K.

Regards,
Oleg


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Cam | last post by:
Hi all, The code below is a practical exercise and works well running in the debug environment but fails when being compiled for a release build. I believe this is because the debug environment...
12
by: Vasco Lohrenscheit | last post by:
Hi, I have a Problem with unmanaged exception. In the debug build it works fine to catch unmanaged c++ exceptions from other dlls with //managed code: try { //the form loads unmanaged dlls...
3
by: lauch2 | last post by:
Can anyone talk me is there existed a "default" value for a un-initialized int variable in a release build in VC6 and VC7.1. (I know there is a compilation warning) For Example: main(){ int a;...
7
by: Srinivasa Rao | last post by:
I have read in one article that when we compile the application in release mode, all the debug classes and properties will be automatically removed from the code. I tried to implement this thing by...
3
by: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
3
by: John C Kirk | last post by:
I've come across an odd situation, where doing a floating point division produces different results for the same numbers. Basically, there are 4 ways to run this application: A) Debug build,...
4
by: Saurabh Aggrawal | last post by:
Hi, I have made a dll and it is working fine in the debug build (as expected) but when I run it in the release build it is working strangely. For example, the dll saves the 10 properties on the...
1
by: Egbert Nierop \(MVP for IIS\) | last post by:
Hi, I have had AtlTrace statements, but for file logging and debugging purposes, I wrote something similar. But when I release the code, the compiler does not 'ignore' the statements just as...
1
by: JB | last post by:
Hi All, I'm experiencing a strange behaviour in VB.NET 2005. My solution contains 4 Projects. When I want to compile a release version, I go to the Configuration Manager and change the Active...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.