[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Problem with CLIPW



** Reply to message from Correo Fenda  on Sat, 26 Nov
2005 14:36:07 +0100

Manuel:

> I have been able to reproduce the problem with CLIP under XP (and files
> above 13Kb) suffered by Mr. Sanza.

I reproduced it too, although only under WinXP (when you first mentioned this,
I just rechecked it under Win2000, and it was fine!). Anyway, it's fixed.
Something is wrong with the Windows API "WideCharToMultiByte" under XP; it can
only process a smaller amount of data (presently set to 8192 bytes of normal
text per loop through the WideCharToMultiByte function -- formerly it was
processing in segment-size chunks, 65336 bytes of Wide char = 32768 of normal
text; so now large texts have to be processed through the function 4x more
often, grrrr). Oddly, MultiByteToWideChar doesn't have the bug... Works fine
on my three WinXP machines... (but I despise XP and use 2K for myself -- much
cleaner OpSys, and no daily bandaids need be applied for yet-another-problem).
It's getting to the point that when you want to write for Microsoft, you have
to test under *every* version! It isn't good enough to just test Win95, you
gotta do Win98 too, and *all* the rest. If it was a good operating system, you
wouldn't care.

Try the version I've sent to you privately. If it's OK, I'll post it at
XyWWWeb (actually, it's already there, in U2UTILS.EXE). Let me know. Thanks
for the report!

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------