E
Eric Robert
Hi,
I am using C# code to create a window, get its HWND and pass it to an
unmanaged C++ DLL. This DLL has the code to process messages. My problem is
that I don't receive the WM_QUIT event so, my application never quits. If I
replace the WNDPROC with mine using a call to SetWindowLongPtr, and just
check for messages before passing them to the original WNDPROC, I don't even
get a WM_DESTROY message.
Any idea why this is happening? Any idea how to fix this?
Eric Robert
I am using C# code to create a window, get its HWND and pass it to an
unmanaged C++ DLL. This DLL has the code to process messages. My problem is
that I don't receive the WM_QUIT event so, my application never quits. If I
replace the WNDPROC with mine using a call to SetWindowLongPtr, and just
check for messages before passing them to the original WNDPROC, I don't even
get a WM_DESTROY message.
Any idea why this is happening? Any idea how to fix this?
Eric Robert