Click to See Complete Forum and Search --> : Question about why my subclassing does not work in release build...


Mike
April 1st, 1999, 08:09 PM
I've written a program that subclasses another program and intercepts all the WM_LBUTTONUP messages. When I build the program in debug mode and run it all works as expected; however, when I build the program in release mode, the subclassing no longer works.

If anyone has any idea as to why, please tell me. If you want to look at the souce code let me know and I will send it to you so that you can further examin it.

Thanks,
Mike

Claudio Gennari
June 11th, 1999, 02:06 AM
Have you used an ASSERT() macro with an enclosed action function instead of a test ?

August 1st, 2000, 05:54 AM
I had the same problem a few days agow...
But it was easy to solve, perhaps you have forgotten to set the "use MFC" in release mode or forgotten to link the required libs in release-mode...

gd luck,
Ferdinando