Results 1 to 2 of 2

Thread: Determining memory size....

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    norcross, ga, USA
    Posts
    82

    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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    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
  •  



Click Here to Expand Forum to Full Width