Re: issues compiling ReactOS newdev on wine

2006-01-03 Thread Boaz Harrosh
Mike McCormack wrote: Secondly, what the whole story with WCHARs? Why do L"Unicode string" type strings work in wine apps but not in winelibs? Some compilers do not support L"string". Older versions of gcc assume a wide character is 32 bytes, not 16. For compatibility with those older com

Re: issues compiling ReactOS newdev on wine

2006-01-03 Thread Mike McCormack
Damjan Jovanovic wrote: Firstly, why can't winelibs include and ? Are TCHARs even usable in winelibs? Because we need to explicitly say whether we're write a function that is ASCII or Unicode. If you use TCHARs, you can define UNICODE, and compile your program as a unicode, or not define

issues compiling ReactOS newdev on wine

2006-01-03 Thread Damjan Jovanovic
I tried to get the ReactOS NEWDEV.DLL to compile on wine, and there were many problems. Firstly, why can't winelibs include and ? Are TCHARs even usable in winelibs? Secondly, what the whole story with WCHARs? Why do L"Unicode string" type strings work in wine apps but not in winelibs? And NEWD