[Cegcc-devel] w32api and tchar.h?

2011-01-01 Thread Paul Sokolovsky
Hello, Who knows the story about w32api and tchar.h header? The latter is includes in mingw, but lots of software expect _T() to be available with just . w32api doesn't even mention it there, and the only tchar include occurance, in oledlg.h, is commented. So, what is approach here? -- Best reg

[Cegcc-devel] Hex vs dec os/component version defines, was: Porting msvc resource code

2011-01-01 Thread Paul Sokolovsky
Hello, On Sat, 01 Jan 2011 14:29:21 +0100 Danny Backx wrote: > On Sat, 2011-01-01 at 15:21 +0200, Paul Sokolovsky wrote: > > Ok, I see, need to run windres with -D_WIN32_WCE. > > Sometimes not just that but with a specific value. Yeah, and here comes the new question. As far as I can tell, msv

Re: [Cegcc-devel] Porting msvc resource code

2011-01-01 Thread Danny Backx
On Sat, 2011-01-01 at 15:21 +0200, Paul Sokolovsky wrote: > Ok, I see, need to run windres with -D_WIN32_WCE. Sometimes not just that but with a specific value. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info --

Re: [Cegcc-devel] Porting msvc resource code

2011-01-01 Thread Paul Sokolovsky
Hello, On Sat, 1 Jan 2011 15:09:06 +0200 Paul Sokolovsky wrote: > Hello, > > Some common error pattern I see while porting msvc code is: > > arm-mingw32ce-windres -i tman.rc -o tman-rc.o > arm-mingw32ce-windres: tman.rc:20: syntax error > > tman.rc:20:LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

[Cegcc-devel] Porting msvc resource code

2011-01-01 Thread Paul Sokolovsky
Hello, Some common error pattern I see while porting msvc code is: arm-mingw32ce-windres -i tman.rc -o tman-rc.o arm-mingw32ce-windres: tman.rc:20: syntax error tman.rc:20:LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US LANG_ENGLISH, SUBLANG_ENGLISH_US is defined in winnt.h, tman.rc includes newres.h