Re: _setmbcp giving error for codepage -3
Hi Vijay,
it should not get errored out for _MB_CP_ANSI which is actually defined in mbctype.h
You're right, _MB_CP_ANSI should be defined in mbctype.h. Wine already has a mbctype.h, in include/msvcrt. Would you mind patching that? --Juan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hi, But mbctype.h is a sdk header file, it should not be specific for msvcrt. I think it should not be put in include/msvcrt Thanks, Vijay On 7/8/05, Juan Lang <juan_lang(a)yahoo.com> wrote:
Hi Vijay,
it should not get errored out for _MB_CP_ANSI which is actually defined in mbctype.h
You're right, _MB_CP_ANSI should be defined in mbctype.h. Wine already has a mbctype.h, in include/msvcrt. Would you mind patching that?
--Juan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On 08.07.2005 10:58, Vijay Kiran Kamuju wrote:
But mbctype.h is a sdk header file,
It's not, it is ...
it should not be specific for msvcrt. I think it should not be put in include/msvcrt
... really an MSVCRT-specific header. (If you have VC7 or later, check the include directories - you won't find mbctype.h in the PlatformSDK/Include directory, but the include/ directory with the remaining C runtime related headers.) -f.r.
--- Vijay Kiran Kamuju <infyquest(a)gmail.com> wrote:
But mbctype.h is a sdk header file, it should not be specific for msvcrt. I think it should not be put in include/msvcrt
It's not in my PSDK include directory, but it is in my VC++ include directory. On MSDN it's documented as part of the VC++ libraries, which makes it part of the visual studio C++ runtime library. Thus, include/msvcrt is the right place for it. --Juan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (3)
-
Frank Richter -
Juan Lang -
Vijay Kiran Kamuju