Re: [Dev-C++] Q: Porting those annoying M$ typedefs
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-10-28 07:22:28
|
TCHAR is either wchar_t or char depending on if you compile for unicode support or not. Same with the defined string functions. They translate to a wstrxxx or strxxx function. You should have a tchar.h file in your mingw include directory. /Per W On Thu, 28 Oct 2004, Yin Ming wrote: > Hi all. > > I was working on gcc environment. For making some plugins and tools in > my office (WIN2K os), I tried to use Dev-C++ to write them. But, too > many things beat me. > > First is the string, the essential stuff but rather confusable. MS > define too many typedef, such as TCHAR or LPCSTR, etc. I don't know > which types and functions I can use in GCC, wchar_t or char? wstrxxx or > strxxx? > > I need a manual about porting MS to gcc, any url or hints? > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |