Solved

Problems with the release version.

Posted on 1998-10-08
2
145 Views
Last Modified: 2013-11-20
I have made an application on VC++4. The debug version works fine, even on some machines it gives a "Failed to create empty document" message but it still fine. The matter is when I am Builiding the Release version the application can't run and it gives access violation error.
I think this problem can be correlated with "Failed .." message.
Any ideas?
m3
0
Comment
Question by:m3
2 Comments
 
LVL 3

Accepted Solution

by:
plaroche earned 50 total points
ID: 1323117
The usual Release bug comes from unitialized variables. The compiler sets all your variables to zero when you declare them in debug mode, in release it doesn't.

Add debug info to your release build, check the call stack and check for unitialized variables.  To add debug info:

1) Under project settings - C/C++ - General. Select Program Databse from the combo about debug info.

2) Under project settings - Link - General. Check the box for generate debug info.

Find those things can be tough.
0
 

Author Comment

by:m3
ID: 1323118
It still doesn't work. All the warnings I have, concerne an unreferenced formal parametres, which I guess doesn't effect much.
m3.

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now