Re: More stuff about the headers

2003-09-09 Thread Shachar Shemesh
Alexandre Julliard wrote: Eric Pouech <[EMAIL PROTECTED]> writes: so the possible solutions are: - As we compile Wine without the _UNICODE flag, we could change the code as follows: XXA => XX XXW => (LPWSTR)XX drawback: we'll have warnings if we need to compile with the _UNICODE flag...

Re: More stuff about the headers

2003-09-08 Thread Alexandre Julliard
Eric Pouech <[EMAIL PROTECTED]> writes: > so the possible solutions are: > - As we compile Wine without the _UNICODE flag, we could change the > code as follows: > XXA => XX > XXW => (LPWSTR)XX > drawback: we'll have warnings if we need to compile with the _UNICODE > flag... I think w

Re: More stuff about the headers

2003-09-07 Thread Steven Edwards
--- Eric Pouech <[EMAIL PROTECTED]> wrote: > > If you are compiling a core Wine DLL, you are not allowed to use the > > base name (IDC_ARROW). You must pick either the Ansi (IDC_ARROWA) or > > Wide (IDC_ARROWW) versions. To achieve this, wine uses a macro called > > "WINELIB_NAME_AW". It is def

Re: More stuff about the headers

2003-09-07 Thread Shachar Shemesh
Eric Pouech wrote: Still, I agree that we are in a somewhat of a fix here. How about if we do it this way: Define IDC_ARROWn as 32512 Define IDC_ARROW as MAKEINTRESOURCE(IDC_ARROWn) This way, you will still get the error, you are still prohibited from using an unqualified version. From within th

Re: More stuff about the headers

2003-09-07 Thread Eric Pouech
Makes you wonder about one thing, though - do you think that the Windows sources compile with the Windows headers? I don't think so (there are some examples of that, the PEB structure being one of them). A+ -- Eric Pouech

Re: More stuff about the headers

2003-09-07 Thread Eric Pouech
Still, I agree that we are in a somewhat of a fix here. How about if we do it this way: Define IDC_ARROWn as 32512 Define IDC_ARROW as MAKEINTRESOURCE(IDC_ARROWn) This way, you will still get the error, you are still prohibited from using an unqualified version. From within the Wine sources, you

Re: More stuff about the headers

2003-09-07 Thread Shachar Shemesh
Eric Pouech wrote: Shachar Shemesh wrote: Steven Edwards wrote: First thing is first. Whats up with the *_must_be_suffixed_with_W_or_A_in_this_context error? If you are compiling a core Wine DLL, you are not allowed to use the base name (IDC_ARROW). You must pick either the Ansi (IDC_ARROWA

Re: More stuff about the headers

2003-09-07 Thread Eric Pouech
Shachar Shemesh wrote: Steven Edwards wrote: First thing is first. Whats up with the *_must_be_suffixed_with_W_or_A_in_this_context error? If you are compiling a core Wine DLL, you are not allowed to use the base name (IDC_ARROW). You must pick either the Ansi (IDC_ARROWA) or Wide (IDC_ARROW

Re: More stuff about the headers

2003-09-07 Thread Shachar Shemesh
Steven Edwards wrote: First thing is first. Whats up with the *_must_be_suffixed_with_W_or_A_in_this_context error? If you are compiling a core Wine DLL, you are not allowed to use the base name (IDC_ARROW). You must pick either the Ansi (IDC_ARROWA) or Wide (IDC_ARROWW) versions. To achieve

More stuff about the headers

2003-09-06 Thread Steven Edwards
Hello, First thanks Dimi and Alexandre for the header fixes. I have been outa town till lastnight so I have not had a chance to do much testing of the MS_VC build yet. I will start working on this soon as I want to get these dlls imported in to ReactOS. First thing is first. Whats up with the