|
-
April 13th, 1999, 03:03 AM
#1
CRgn deletion & creation
Hi,
I am unable to delete a pointer to CRgn.
I have created in my program a 'CRgn *m_myRgn = new CRgn', but I am unable
to do a 'delete m_myRgn' since I get assertion.
I tried doing a 'm_myRgn->Detach()' before doing a delete, but it didn't help. Also a 'DeleteObject()' function doesn't release the memory nor does it point the 'm_myRgn' into a "NULL space".
Please help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|