🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
1 messages
1 total messages Started by Benjamin Chen Fri, 24 Jul 1992 00:18
Followup to Using Bitmap Buttons
#47
Author: Benjamin Chen
Date: Fri, 24 Jul 1992 00:18
17 lines
1115 bytes
On the advice of an MFC authour, I removed my explicit calls to delete
the bitmaps and IT WORKS!  I don't know what could have happened,
but I'm positive I saw the symptoms.  It's likely that I first forgot
to call the destructor for the object that contains the bitmap buttons,
(which was allocated with new, not on the stack) ran the program, examined
the heap, added the destructor call, ran the program again WITHOUT restarting
Windows, and thought that it didn't fix the problem. (Hope you
understood that :-)).  Anyway, the problem was mine, not theirs.


    BC

-- 
Benjamin Chen
Office:   550-A4 Cory Hall, 2-4332
UUCP:     !ucbvax!cad!bchen               
HEPNET:   LBL::"bchen@cad.Berkeley.EDU"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads