🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2580

hDC and CS_OWNDC

#2580
From: Brian Goble
Date: Fri, 08 Jan 1993 00:04
15 lines
1015 bytes
If I specify CS_OWNDC and I then GetDC() once and only release it
when my app terminates, is my app being just a resource hog or can
this actually cause serious problems (either to my app or the system)?

So far, keeping my hDC doesn't seem to be causing problems but I would
like to be sure.

Thanx for any info...

-Brian
-- 
 ==)------------
               Brian Goble    |    goble@hardy.u.washington.edu
               "Finishing a close second means you didn't win."
                                                              ------------(==
Technical Details
Message-ID: <1iigelINN8c@shelley.u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!hardy.u.washington.edu!goble

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!hardy.u.washington.edu!goble
From: goble@hardy.u.washington.edu (Brian Goble)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: hDC and CS_OWNDC
Date: 8 Jan 1993 00:04:37 GMT
Organization: University of Washington
Lines: 15
Message-ID: <1iigelINN8c@shelley.u.washington.edu>
NNTP-Posting-Host: hardy.u.washington.edu