WinelibVersion() [was: bit-blit ops]

Dimi Paun dimi at lattica.com
Fri Jun 17 10:19:27 CDT 2005


From: "cdr" <cedar at 3web.net>
> (int WinelibVersion(); that returns yyyynn - Please, please...)

We don't support such a thing officially because it will
hurt the project: it's always easier to work around stuff
rather then fix it properly. And the result will most likely
be crippled and people will hate it.

That being said, if you *really* want to do it:
  -- at compile time:
     #ifdef __WINE__
     ....
     #endif

  -- at runtime:
     if( GetProcAddress(LoadLibrary("kernel32"), "wine_get_unix_file_name")
{
     .....
     }

-- 
Dimi Paun <dimi at lattica.com>
Lattica, Inc.




More information about the wine-devel mailing list