How can an app detect it's running under WINE?
andi at rhlx01.fht-esslingen.de
Fri Oct 25 03:10:32 CDT 2002
On Fri, Oct 25, 2002 at 09:25:23AM +0200, Alberto Massari wrote:
> Hi everybody,
> I am working on making our software (Stylus Studio,
> http://www.stylusstudio.com) run under WINE, if this is feasible. To
> achieve this, I have already implemented a bunch of APIs (the application
> is built against the UNICODE version of the Win32 APIs) and fixed some bugs
> I hit (I already mailed the first patch to wine-patches at winehq.com).
> However, I would feel better if I could detect I am running under WINE and
> gracefully disable some functionalities that are not yet fully supported;
> is there any way to achieve this? Is there a WIN32 API (like, say,
> GetVersionEx) that can return a string like "Windows 2000 (WINE)" or is
> WINE trying to be as stealth as possible?
http://www.winehq.org/FAQ/ would have been answering this in countless
Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604 http://mohr.de.tt
More information about the wine-devel