VERSION_GetLinkedDllVersion bug fix

Andreas Mohr andi at rhlx01.fht-esslingen.de
Mon Dec 13 08:26:29 CST 2004


On Mon, Dec 13, 2004 at 03:09:29PM +0100, Ivan Leo Puoti wrote:
> > I fixed a bug in ntdll's VERSION_GetLinkedDllVersion which caused it to
> > not be able to return any Windows version higher than WIN98. It has now been
> > extended for WIN2K, WINXP, and WIN2K3. This function would eventually be
> > called any time that kernel's GetVersionEx was called, which is a problem
> > for any software requiring a version higher than WIN98, like Visual Basic
> > .NET.
> If MajorSubsystemVersion is 4 then the OS can never be win2k or higher, so your
> patch can't be correct.
> The attached patch should fix the bug you found. Compile tested only.
Where's the FIXME message for the default case? ;)
(things like this are the prime reason this version issue wasn't uncovered
for such a long time!)

Andreas Mohr



More information about the wine-devel mailing list