|
-
December 12th, 2012, 06:25 PM
#2
Re: A question regarding passing a variable from CView to CDocument
Does storing pointers (e.g. bool*) to a document make sense anyway? What happens when you open the document from a different process instance? Do you expect those saved pointer values to be valid for a different process?
Even worse you are storing a pointers to a temporary object.
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
|