Re: _setmbcp giving error for codepage -3

2005-07-08 Thread Juan Lang
--- Vijay Kiran Kamuju <[EMAIL PROTECTED]> 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

Re: _setmbcp giving error for codepage -3

2005-07-08 Thread Frank Richter
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

Re: _setmbcp giving error for codepage -3

2005-07-08 Thread Vijay Kiran Kamuju
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 <[EMAIL PROTECTED]> wrote: > Hi Vijay, > > > it should not get errored out for _MB_CP_ANSI which is actually > > defined in mbctype.h >

Re: _setmbcp giving error for codepage -3

2005-07-07 Thread Juan Lang
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 __

Re: _setmbcp giving error for codepage -3

2005-07-07 Thread Vijay Kiran Kamuju
ansi charset for windows can be found at (it is cp1252) http://www.kostis.net/charsets/cp1252.htm the cygwin implemenataion is at http://www.cygwin.com/ml/cygwin-patches/2000-q4/msg00025.html On 7/7/05, Vijay Kiran Kamuju <[EMAIL PROTECTED]> wrote: > Hi, > > according to http://msdn2.microsoft.

_setmbcp giving error for codepage -3

2005-07-07 Thread Vijay Kiran Kamuju
Hi, according to http://msdn2.microsoft.com/library/883tf19a(en-us,vs.80).aspx or msdn.microsoft.com/library/ en-us/vccore98/HTML/_crt__setmbcp.asp it should not get errored out for _MB_CP_ANSI which is actually defined in mbctype.h the value's are /* _setmbcp parameter defines */ #define _MB_C