[Wine] How can I detect WINE from my program?

David Gerard dgerard at gmail.com
Mon Jun 1 02:58:55 CDT 2009


2009/5/25 oiaohm <wineforum-user at winehq.org>:

> Its a double sided sword if wine is detectable why bother fixing wine bugs.  If wine is reliability detectable applications developers have a simple path to exclude wine.  Reason why we have to reserve the right to move any internal part as we see fit so in case of someone excluding wine we can counter.


[snip long answer]

If this isn't a FAQ and on the wiki, it should be.

Q. I'm writing an application. How do I detect when it's running on Wine?

A. You can detect it using --- or ---. However, this is a VERY BAD
IDEA. [long list of reasons]


- d.



More information about the wine-users mailing list