21 Apr
2004
21 Apr
'04
3:01 p.m.
Jakob Eriksson <jakov(a)vmlinux.org> writes:
On a side note, how about this:
int running_on_wine () { HKEY version_key; long size = 0;
RegCreateKeyEx (HKEY_LOCAL_MACHINE,
Yes, checking the registry is one way to detect Wine. But not bulletproof, I'm afraid: what if somebody uses a real Windows partition/installation to run Wine with a shared registry? Won't Wine enter it's keys into the Windows registry? -- Feri.