<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am a developer of Win32 applications. We have 
recently found the command </FONT><FONT face=Arial size=2>ShellExecute when 
trying to browse folders functions differently between Wine and Windows. This is 
mainly because there is no implementation of Windows Explorer unider Wine so the 
command does nothing.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How in our code do we differentiate between Wine 
runs and Windows runs?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The documentation discourages such tests saying we 
should fix Wine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My boss wants to do minimal changes to our code so 
how do we do a simple test if we are using Wine or not? I have some code to test 
for the existance of explore.exe and if not present then assume we are under 
Linux. Is this sufficiently generic? (foreign languages 
etc)</FONT></DIV></BODY></HTML>