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.
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.
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.
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