PDA

Click to See Complete Forum and Search --> : Globalalloc, Globallock API calls


Peterson
Sep 22nd, 2000, 05:01 PM
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

Yonatan
Sep 23rd, 2000, 10:13 AM
The Global:rolleyes:, Local:rolleyes: and Virtual:rolleyes: functions (where :rolleyes: 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"?