Click here to Skip to main content
16,011,436 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generallearn STL / templates Pin
Chris Losinger13-Sep-01 4:46
professionalChris Losinger13-Sep-01 4:46 
GeneralRe: C++ Pin
13-Sep-01 5:00
suss13-Sep-01 5:00 
GeneralRe: learn STL / templates Pin
Tomasz Sowinski13-Sep-01 4:50
Tomasz Sowinski13-Sep-01 4:50 
GeneralRe: C++ Pin
Tomasz Sowinski13-Sep-01 5:15
Tomasz Sowinski13-Sep-01 5:15 
General_CrtIsValidHeapPtr Pin
Derek Lakin13-Sep-01 2:04
Derek Lakin13-Sep-01 2:04 
GeneralRe: _CrtIsValidHeapPtr Pin
Tomasz Sowinski13-Sep-01 2:08
Tomasz Sowinski13-Sep-01 2:08 
GeneralRe: _CrtIsValidHeapPtr Pin
Derek Lakin13-Sep-01 2:17
Derek Lakin13-Sep-01 2:17 
GeneralRe: _CrtIsValidHeapPtr Pin
Tomasz Sowinski13-Sep-01 2:28
Tomasz Sowinski13-Sep-01 2:28 
Item 27 in Meyers' "More Effective C++" deals with related issues. He presents some methods of determining if object is on the heap or not, however, there's no simple solution to this problem.

Here's what I would do in this case:

Assume that clients are responsible for deleting pages if it's necessary (many of them will simply create their pages as data members in dialog class or as local stack-allocated objects). Clearly document client code responsibility and everything should be OK.

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: _CrtIsValidHeapPtr Pin
Derek Lakin13-Sep-01 2:34
Derek Lakin13-Sep-01 2:34 
GeneralRe: _CrtIsValidHeapPtr Pin
Tomasz Sowinski13-Sep-01 2:45
Tomasz Sowinski13-Sep-01 2:45 
GeneralRe: _CrtIsValidHeapPtr Pin
Derek Lakin13-Sep-01 3:02
Derek Lakin13-Sep-01 3:02 
GeneralDialog Resizing Pin
13-Sep-01 1:34
suss13-Sep-01 1:34 
GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 2:04
Tomasz Sowinski13-Sep-01 2:04 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:10
suss13-Sep-01 3:10 
GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 3:17
Tomasz Sowinski13-Sep-01 3:17 
GeneralRe: Dialog Resizing Pin
13-Sep-01 4:14
suss13-Sep-01 4:14 
GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 4:28
Tomasz Sowinski13-Sep-01 4:28 
GeneralRe: Dialog Resizing Pin
13-Sep-01 2:15
suss13-Sep-01 2:15 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:17
suss13-Sep-01 3:17 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:25
suss13-Sep-01 3:25 
GeneralRe: Dialog Resizing Pin
13-Sep-01 4:04
suss13-Sep-01 4:04 
GeneralRe: Dialog Resizing Pin
13-Sep-01 3:28
suss13-Sep-01 3:28 
GeneralRe: Dialog Resizing Pin
#realJSOP13-Sep-01 5:00
professional#realJSOP13-Sep-01 5:00 
GeneralRe: Dialog Resizing Pin
Tomasz Sowinski13-Sep-01 5:38
Tomasz Sowinski13-Sep-01 5:38 
GeneralProblem with MSComm Ocx Pin
Patwa13-Sep-01 1:07
Patwa13-Sep-01 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.