Results 1 to 2 of 2

Thread: Syntax statement for Globalalloc API call

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 1999
    Location
    Houston
    Posts
    48
    I am runing VB6 thru NT 4.0 on a dual processor (PIII866MHz) machine with 512 MB RAM. My code has some very large dynamic arrays that easily approach 15 million elements, depending on the input data. Memory usage at run-time of my code is as follows:

    Commit charge(K)
    ---------------
    Total: 97488
    Limit: 5224144
    Peak: 729988

    Given the commit charge, the fact that I have 512MB physical memory, and a lot of available virtual memory, how much memory could I specify in the Globalalloc API call to speed up the run-time?

    Can you give me an example of a Globalalloc call that would work good?

    Thanks

    -lp


  2. #2
    Addicted Member jcouture100's Avatar
    Join Date
    Aug 1999
    Posts
    141
    I really don't have an answer for you, but these links
    might provide you with the information you need.


    GlobalAlloc At WinAPI

    or

    GlobalAlloc at MSDN


    Good luck.

    URL's in case links above don't work:
    http://209.207.250.135/ref/g/globalalloc.html
    http://msdn.microsoft.com/library/ps...emman_66qr.htm

    [Edited by jcouture100 on 09-24-2000 at 12:00 AM]
    JC

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