Andreas Mohr wrote:
Hi,
On Thu, Jul 22, 2004 at 02:59:47PM +0100, Robert Shearman wrote:
Changelog:
Check server version from x11drv, kernel32 and user32 to prevent
mismatches of installed dlls.
Slight overkill, I'd say.
Why not do:
if (!wine_server_check_version( "x11drv", SERVER_PROTOCOL_VERSION )) ...
if (ver != SERVER_PROTOCOL_VERSION)
MESSAGE( "Error: server version mismatch.\n"
"Your %s binary was not upgraded correctly\n"
"or the wrong wineserver is still running.\n", dll_name );
return (ver == SERVER_PROTOCOL_VERSION);
Ok, I'll send an updated patch.
Rob