Porting GlobalLock, GlobalUnlock, GlobalSize for MAC OS X

Hi!

would you know how to port GlobalLock, GlobalUnlock, GlobalSize for MAC OS X?

Thank You
hlienertAsked:
Who is Participating?
 
grg99Connect With a Mentor Commented:
globallock and unlock can just be empty stubs, as mac memory doesnt need to be locked that way.  GlobalSize is a bit of a problem, as I don't think you can get the size of a heap block.   You may have to write your own alloc() that stuffs the size into the [-1] word of the allocated block so GlobalSize() can get it.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.