I was mostly wondering why C programmers don't have to worry about locking and unlocking
FWIW: malloc, realloc, free for PB/Win32 September 20, 2002
Also, you might want to take a peek at the GlobalAllocPtr macro sometimes used n c programs. Looks a lot like it's PB counterpart would look:
Code:
MACRO GlobalAllocPtr (size) = GlobalLock (GlobalAlloc (%GHND, size))
Leave a comment: