[PATCH] Fix 16 bit StringFromGUID2 to not use wide characters

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Mon May 19 07:06:25 CDT 2008


Am Montag, den 19.05.2008, 20:41 +0900 schrieb Dmitry Timoshkov:
> "Michael Karcher" <wine at mkarcher.dialup.fu-berlin.de> wrote:
> > http://msdn.microsoft.com/en-us/library/ms683893(VS.85).aspx
> > says so. I will test Microsoft's native implementation when I get around
> > to.
> That's the description of 32-bit implementation, 16-bit one may differ.
Of course. That's why I am going to test.

> > PS: is it possible to test 16 bit API function in the wine test suite? I
> > suppose not, as it should be compilable in a 32 bit Windows environment,
> > so we don't even have LoadLibrary16.
> Of course Wine has LoadLibrary16, and a working 16-bit implementation.
I know. I already used it for a toy implementation of regsvr (16 bit
version). But the wine testsuite has the policy to be compilable with
MSVC too, so no wine specific code allowed, if I understand it
correctly. And *they* don't have LoadLibrary16 available in their
include files.

> Although there is no built-in support for 16-bit tests, there is a way
> to build them:
> http://www.winehq.org/pipermail/wine-devel/2008-February/062566.html
Thanks for the pointer. So openwatcom is the way to go to write real 16
bit tests. I wondered what open source compiler would compile 16 bit
code and started thinking of some embedded x86 compiler.

Regards,
  Michael Karcher




More information about the wine-devel mailing list