Hi
Is there a possibility that a running program can detect if it's running on a real Win OS or if it's on Linux/Wine? I want to use this to disable stuff in my program that maybe won't run (yet) on Wine. Is there a variable in environments?
Thanks
Fabi
On Fri, 16 Aug 2002, Fabian Cenedese wrote:
Hi
Is there a possibility that a running program can detect if it's running on a real Win OS or if it's on Linux/Wine? I want to use this to disable stuff in my program that maybe won't run (yet) on Wine. Is there a variable in environments?
Thanks
Fabi
Whatever was in the *NIX environment when Wine started plus the values it sets as directed by WINEPREFIX/config (~/.wine/config). If you want to be sure of one, you can set it before starting Wine, I guess.
Lawson ---oops---
________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/web/.
On Fri, Aug 16, 2002 at 10:49:36AM +0200, Fabian Cenedese wrote:
Hi
Is there a possibility that a running program can detect if it's running on a real Win OS or if it's on Linux/Wine? I want to use this to disable stuff in my program that maybe won't run (yet) on Wine. Is there a variable in environments?
http://www.winehq.org/fom-meta/cache/57.html Please do some FAQ search next time. After all it's just that -- a FAQ. (searching for "detect" would have found it instantly)