The forum

How to detect if Delphi program runs in PlayOnMac

Author Replies
Clifford36 Friday 26 April 2019 at 11:32
Clifford36Anonymous

I have a Delphi application which runs smooth in PlayOnMac under MacOS 10.9.5 Yosemite.

It has the feature to minimize the application to TrayBar.

Since Mac is not having the concept of TrayBar I would like to disable this feature if the app runs on Mac.

Checking the Windows version is not an option since PlayOnMac really well obfuscates the fact that the host OS is Mac by emulating the Windows APIs and reporting that the OS is Windows XP for example.

How I can detect that the application is running in PlayOnMac?


Dadu042 Saturday 18 May 2019 at 8:52
Dadu042

This may help :

8.10 I'm writing a Windows app. How can it detect if it's running under Wine?  https://wiki.winehq.org/FAQ

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com