|
-
Jan 28th, 2002, 12:42 PM
#1
Thread Starter
Lively Member
Determining memory size....
Is there a way of determining how many bytes of memory you are using for an object or image or control, etc.. programmatically?
Say I had an image that I loaded and had it's .hdc. Is there some way to use varptr() or something to find its location in memory and then determine how many bytes it's using?
Any help would be appreciated....
C
-
Jan 28th, 2002, 01:45 PM
#2
Probably with C or C++, but I don't think the amount of memory consumed by a single control on a VB form is something VB will return, although, at times, that would be handy.
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
|