Made the DLL version clash error message more verbose.

This commit is contained in:
Andreas Mohr 2000-06-12 01:18:11 +00:00 committed by Alexandre Julliard
parent 261abcd5bc
commit c5648f2be3
1 changed files with 4 additions and 1 deletions

View File

@ -249,7 +249,10 @@ DWORD VERSION_GetLinkedDllVersion(PDB *pdb)
WinVersion = DllVersion;
else {
if (WinVersion != DllVersion) {
ERR("You mixed system dlls from different windows versions! Expect a crash!\n");
ERR("You mixed system dlls from different windows versions! Expect a crash! (%s: expected version '%s', but is '%s')\n",
wm->modname,
VersionData[WinVersion].getVersionEx.szCSDVersion,
VersionData[DllVersion].getVersionEx.szCSDVersion);
return WIN31; /* this may let the exe exiting */
}
}