Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Determining dependent DLLs Pin
Arash Sabet17-Nov-03 8:40
Arash Sabet17-Nov-03 8:40 
GeneralRe: Determining dependent DLLs Pin
David Crow17-Nov-03 8:45
David Crow17-Nov-03 8:45 
GeneralRe: Determining dependent DLLs Pin
Arash Sabet17-Nov-03 8:52
Arash Sabet17-Nov-03 8:52 
GeneralRe: Determining dependent DLLs Pin
David Crow17-Nov-03 9:27
David Crow17-Nov-03 9:27 
GeneralRe: Determining dependent DLLs Pin
Arash Sabet17-Nov-03 9:30
Arash Sabet17-Nov-03 9:30 
GeneralRe: Determining dependent DLLs Pin
David Crow17-Nov-03 9:40
David Crow17-Nov-03 9:40 
GeneralRe: Determining dependent DLLs Pin
Peter Molnar18-Nov-03 15:16
Peter Molnar18-Nov-03 15:16 
QuestionProblems with multiple inheritance? Pin
Obliterator17-Nov-03 7:33
Obliterator17-Nov-03 7:33 
I'm having a really strange problem with one of my classes.
Upon destruction visual c reports damage.
I installed a trial of purify and it catches the damage during constructor...
its when a member boolean variable gets assigned to false????
How is that possible?

I'm certain its not the fault of the classes because I can replicate it even without calling any member functions. The damage occurs immediately in the constructor of which there are only two lines (both of which assign member variables to defaults).

If I remove the assignments from the constructor purify detects no problems.
The only thing I can think of is its something to do with the class being derived from a class which uses multiple inheritence. Are there any documented bugs relating to this?

I found one related article on MSDN[^] but the solution didn't help Frown | :(

Here is a replica of my structure:

.----------.
|CObject   |
|          |
·^---------·
 |
 |
.^---------.    .----------.
|Class A   |    |Class B   |
|          |    |          |
·-------^--·    ·^---------·
        |        |
        |        |
        |        |
        |       .^---------.
        |       |Class C   |
        |       |          |
        |       ^----------·
        |       |
        |       |
       .^-------^-----.
       |Class D       |
       |              |
       ·^-------------·
        |
        |
        |
       .^-------------.
       |Class E       |
       |              |
       ·--------------·

The problem occurs in class E.

--

The Obliterator
AnswerRe: Problems with multiple inheritance? Pin
antlers17-Nov-03 8:27
antlers17-Nov-03 8:27 
Questionhow to keep a running total in a text file? Pin
mike.beck17-Nov-03 6:55
mike.beck17-Nov-03 6:55 
AnswerRe: how to keep a running total in a text file? Pin
Toni7817-Nov-03 7:07
Toni7817-Nov-03 7:07 
GeneralRe: how to keep a running total in a text file? Pin
mike.beck17-Nov-03 8:06
mike.beck17-Nov-03 8:06 
GeneralRe: how to keep a running total in a text file? Pin
Toni7817-Nov-03 17:00
Toni7817-Nov-03 17:00 
AnswerRe: how to keep a running total in a text file? Pin
David Crow17-Nov-03 7:48
David Crow17-Nov-03 7:48 
AnswerRe: how to keep a running total in a text file? Pin
Peter Molnar18-Nov-03 15:26
Peter Molnar18-Nov-03 15:26 
GeneralDetecting dependent DLLs Pin
Arash Sabet17-Nov-03 6:24
Arash Sabet17-Nov-03 6:24 
GeneralRe: Detecting dependent DLLs Pin
igor196017-Nov-03 10:10
igor196017-Nov-03 10:10 
GeneralProblems building a general program using C++ .NET Pin
changuyen17-Nov-03 5:59
changuyen17-Nov-03 5:59 
GeneralRe: Problems building a general program using C++ .NET Pin
Toni7817-Nov-03 7:08
Toni7817-Nov-03 7:08 
GeneralRe: Problems building a general program using C++ .NET Pin
changuyen17-Nov-03 15:02
changuyen17-Nov-03 15:02 
GeneralRe: Problems building a general program using C++ .NET Pin
Michael Gunlock17-Nov-03 18:58
Michael Gunlock17-Nov-03 18:58 
GeneralRe: Problems building a general program using C++ .NET Pin
Anonymous18-Nov-03 23:32
Anonymous18-Nov-03 23:32 
QuestionCompiler for AMD 64? Pin
Robert Buldoc17-Nov-03 5:56
Robert Buldoc17-Nov-03 5:56 
AnswerRe: Compiler for AMD 64? Pin
Maxwell Chen17-Nov-03 17:44
Maxwell Chen17-Nov-03 17:44 
Questionopen files over the net???? Pin
IGeorgeI17-Nov-03 5:22
IGeorgeI17-Nov-03 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.