Porting GlobalLock, GlobalUnlock, GlobalSize for MAC OS X

Posted on 2007-08-01
Medium Priority
Last Modified: 2013-11-14

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

Thank You
Question by:hlienert
1 Comment
LVL 22

Accepted Solution

grg99 earned 2000 total points
ID: 19614102
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.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question