Dirk,
> I override the WndProc method of a control-derived class and want to handle
> the WM_NOTIFY message. The following code leads to a NMHDR pointer that
[quoted text clipped - 11 lines]
> to get the data from the unmanaged heap to the managed heap. Why does the
> first method fail then?
Is it *actually* failing? So far, all you've said is the debugger can't
display it, but have you actually checked you can't access its values?
I ask this because there are some well-known issues with the debugger with
mixed-mode debugging (heck, even the managed mode debugger gets stuck
sometimes)...

Signature
Tomas Restrepo
tomasr@mvps.org
dirk - 14 Jul 2004 09:38 GMT
Hello
No, it does not fail. Although shown as undefined comparison and
modification work. I had some other issues during my first tries that
prevented the WM_NOTIFY I was interested in from being sent. Some WM_NOTIFY
messages were sent, but because I could not easily check which one I changed
different things. So I am glad that I can use the native structs.
Thanks
> Dirk,
>
[quoted text clipped - 4 lines]
> mixed-mode debugging (heck, even the managed mode debugger gets stuck
> sometimes)...