Menu

Size of HANDLES, HWNDS and HINSTANCES?

2002-12-28
2012-09-26
  • Nobody/Anonymous

    What is the size of a HWND? What about HANDLES e HINSTANCES?

    Theyre the size of a 32bit pointer plus the object they refer to?

    Im kindda worried, i got lots of them in my win32 app and i cant figure how much memory im spending with them.

     
    • Nobody/Anonymous

      a handle is just a pointer, don't take much room at all on their own.. but.. each open handle uses resources, so there is a limit on the number of handles you can use at once under win95/98.
      have a look here:

      http://www.windows-help.net/techfiles/win-resources.html

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.