Re: Help! How to mix win32 and native os calls in code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



droidvideo wrote:
> 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?)

Simple answer - DO NOT DO IT.


droidvideo wrote:
> b) Lets say I know some how what OS the exe is running. I want to call  say LeopardCaptureScreen() on Mac.

Then why don't you create a native Mac application that does just that? You can do this _only_ in winelib application (line Wine's winecfg). It will _not_ work on Windows.

Also when you doing any native calls, you have to take care of proper synchronization, or you'll end-up crashing, locking up your program.


droidvideo wrote:
> c) Any pointers on how to capture current screen on Mac OS X?

Wrong forum, people here know mostly *NIS & win32 api. Not Mac.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux