Solved

Problems with the release version.

Posted on 1998-10-08
2
148 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

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

Suggested Solutions

Title # Comments Views Activity
Get filename and folder into excel 7 84
Looking for a specific application/software 2 119
Change owner from userA to server Local Administrators 7 71
pre4 challenge 19 110
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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. …
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

679 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