Displaying 1 result from an estimated 1 matches for "leopardcapturescreen".
2009 Jul 26
10
Help! How to mix win32 and native os calls in code?
...e with Mac's native apis.
I am wondering if someone can point me in right direction.
a) How do I find in code if I am running under regular win32 or wine?
If wine, how do I find host OS (i.e Is it Linux or OS X?)
b) Lets say I know some how what OS the exe is running. I want to call
say LeopardCaptureScreen() on Mac. One way is to include
corresponding .h and link implicitly. But it won't compile under
windows. Any pointers on how to separate this logic in such a way that
the mac code can be compiled on Mac and be loaded under wine.
c) Any pointers on how to capture current screen on Mac OS...