Solved

Problems with the release version.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

736 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