pointers to HDC question
AP''s got it. Why are you storing and/or passing pointers to HDCs anyway? Under the facade, HDCs are pointers, and are the same size as pointers to HDC. Just use standard semantics.
backing up the data in an array - eg multiple opengl rendering contexts in the same thread, or when two or more programs/threads share HDCs. that''s from experience anyway. lots of other reasons (another is when the HDC''s pointer may change whilst another more laggy thread is trying to update it - although that''s a bad thing for the HDC though)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement