Re: cannot set up function evaluation
- From: eli.vermeulen@xxxxxxxxx
- Date: 17 May 2006 23:56:26 -0700
With complicated I mean: multiple inheritance. I think I know a bit
more about what is going on now:
my pointer to my base class is different from the pointer to the
derived class. I think the debugger ignores the type of the parameter
of my function and simple passes the pointer of the derived class
without casting it to the base class.
This causes the function to 'crash', apparently the debugger runs these
functions in some kind of protected environment and it sometimes has
difficulties to recover from a crash in this environment.
What I am looking for now is a way to avoid that my function is called
with a derived class as a parameter.
Also some documentation about what the debugger does exactly would be
very welcome, do you think Microsoft would be willing to provide such
information?
Anyway, thanks for your reply!
greetings,
eli
.
- Follow-Ups:
- Re: cannot set up function evaluation
- From: Oleg Starodumov
- Re: cannot set up function evaluation
- References:
- cannot set up function evaluation
- From: eli . vermeulen
- Re: cannot set up function evaluation
- From: Oleg Starodumov
- cannot set up function evaluation
- Prev by Date: Re: C2664 Error
- Next by Date: Re: cannot set up function evaluation
- Previous by thread: Re: cannot set up function evaluation
- Next by thread: Re: cannot set up function evaluation
- Index(es):
Relevant Pages
|