CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    16

    Question about why my subclassing does not work in release build...

    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


  2. #2
    Join Date
    Jun 1999
    Location
    S. Marino
    Posts
    2

    Re: Question about why my subclassing does not work in release build...

    Have you used an ASSERT() macro with an enclosed action function instead of a test ?


  3. #3
    Guest

    Re: Question about why my subclassing does not work in release build...

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured