On Friday 25 October 2002 02:51 am, Uwe Bonnes wrote:
"Alberto" == Alberto Massari alby@exln.com writes:
Alberto> Hi everybody, I am working on making our software (Stylus Alberto> Studio, http://www.stylusstudio.com) run under WINE, if this
is Alberto> feasible. To achieve this, I have already implemented a bunch Alberto> of APIs (the application is built against the UNICODE version Alberto> of the Win32 APIs) and fixed some bugs I hit (I already mailed Alberto> the first patch to wine-patches@winehq.com).
Alberto> However, I would feel better if I could detect I am running Alberto> under WINE and gracefully disable some functionalities that
are Alberto> not yet fully supported; is there any way to achieve this? Is Alberto> there a WIN32 API (like, say, GetVersionEx) that can return a Alberto> string like "Windows 2000 (WINE)" or is WINE trying to be as Alberto> stealth as possible?
You can query for example the wine registry entries.
Bye
I don't like this solution. Those entries are likely to be present in certain shared wine / native windows configurations.
-- gmt
"Oh, and of course, the fastest way to dig a tunnel is to dig at both sides." -- The Linux Advanced Routing HOWTO