VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Global Memory

Nicholas Forystek  (14 Submissions)   Windows API Call/Explanation   VB 6.0   Intermediate   Mon 10th February 2020

I could not find documentation or anything on the net to which what I had a hunch was true with Global memory allocation (or even Local memory, because Global flags occur across all memory), so I just wrote this API example test to verify it was what I thought, and able you provide the pointer, as to the effect of the flags. GPTR is doing so with out the address memory predisposition, as if, indicate newly provided. So here is just a simple global memory allocation, locking, reallocation, and free of such with the cleanup. Examples of this API I've seen end up with another pointer address handle when locking occurs, I'm not sure how to handle that in freeing or unlocking. Maybe provided it's well to do so with two handle addresses also.

Rate Global Memory (2(2 Vote))
Global Memory.bas

Global Memory Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters