Bug Fix: WM_GETTEXT should return NULL string if LB_GETCURSEL is LB_ERR

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Jul 15 15:46:53 CDT 2002


>>>>> "Shachar" == Shachar Shemesh <wine-devel at sun.consumer.org.il> writes:
    Shachar> Not trying to be a hard head here, and I'm not even remotely
    Shachar> trying to suggest that this particular line of code is a
    Shachar> crucial point. It's just that my understanding of this project
    Shachar> and the way code should be with it, all WINE DLLs are actually
    Shachar> WineLib code. All WineLib code should duel compile on Windows
    Shachar> and Unix. In theory, there should not be a problem compiling
    Shachar> our sources of USER.DLL on Visual C, and running it on Windows
    Shachar> instead of the native DLL (far fetched example, I know).

    Shachar> If VC does have a "one correct way", while gcc doesn't,
    Shachar> shouldn't we prefer the VC correct one?

With VC++ you either compile an ASCII or an Unicode version. In this case
you know whether to treat a char or string as ascii or unicode. In Wine you
have both ASCII and Unicode in one executable/library. Here you have to be
explicit what you mean.

Bye

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list