?
Solved

Problems with the release version.

Posted on 1998-10-08
2
Medium Priority
?
151 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
plaroche earned 150 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

764 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