Re: Run-Time Check Failure #0
- From: David Lowndes <davidl@xxxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 07:59:44 +0100
>When I run it in the debugger I am getting the following IDE error when
>one of my CWindowImpl based views is destroyed (I did not get the error
>in VC++ 6.0):
Since it's only happening when the window is destroyed, I think the
hook callback definition itself is probably ok. It looks like it's
correctly defined, and if it were wrong, I'd expect you'd get the
error any time a message is caught by it.
If you debug the application, where precisely does the error show up?
Is it perhaps a consequence of not removing the hook properly?
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
.
- Follow-Ups:
- Re: Run-Time Check Failure #0
- From: mark6139
- Re: Run-Time Check Failure #0
- References:
- Run-Time Check Failure #0
- From: mark6139
- Run-Time Check Failure #0
- Prev by Date: Re: Compilation errors in Standard header files
- Next by Date: Re: error C2664 with InterlockedExchangePointer
- Previous by thread: Run-Time Check Failure #0
- Next by thread: Re: Run-Time Check Failure #0
- Index(es):