Results 1 to 2 of 2

Thread: Globalalloc, Globallock API calls

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 1999
    Location
    Houston
    Posts
    48
    I have dual processor (PIII866MHz) with 512 MB RAM, and am running VB6.0. Memory usage on NT 4.0 during run-time of my code is as follows:

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

    I would like to add (allocate) more memory to the executable at run-time. Given the commit charge, how large can I go and what syntax should I use in the Globalalloc and Globallock API calls?

    Thanks

    -lp

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    The Global, Local and Virtual functions (where is any other word) are for allocating memory for the variables.
    VB automatically does this for you.
    What do you mean by "allocating memory for your EXE"?

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