Re: [Cegcc-devel] getcwd() definition in the headers

2009-05-20 Thread Vincent Torri
On Wed, 20 May 2009, Pierre Ynard wrote: > > >>> The getcwd() function is defined in io.h, whereas it doesn't exist on >>> WinCE. Attempts to redefine it (for portability reasons) fail. >> >> use GetModuleFileName() with GetModuleHandle(NULL) in your program to get >> the directory of your progr

Re: [Cegcc-devel] getcwd() definition in the headers

2009-05-20 Thread Pierre Ynard
> > The getcwd() function is defined in io.h, whereas it doesn't exist on > > WinCE. Attempts to redefine it (for portability reasons) fail. > > use GetModuleFileName() with GetModuleHandle(NULL) in your program to get > the directory of your program. Thanks for the tip, but in my case I need

Re: [Cegcc-devel] getcwd() definition in the headers

2009-05-20 Thread Danny Backx
I've taken out the definitions of getcwd mktemp chdir in io.h. The functions didn't exist so they shouldn't be in an include file. Danny On Wed, 2009-05-20 at 11:17 +0200, Vincent Torri wrote: > > On Wed, 20 May 2009, Pierre Ynard wrote: > > > Hello, > > > > The

Re: [Cegcc-devel] getcwd() definition in the headers

2009-05-20 Thread Vincent Torri
On Wed, 20 May 2009, Pierre Ynard wrote: > Hello, > > The getcwd() function is defined in io.h, whereas it doesn't exist on > WinCE. Attempts to redefine it (for portability reasons) fail. use GetModuleFileName() with GetModuleHandle(NULL) in your program to get the directory of your program.

[Cegcc-devel] getcwd() definition in the headers

2009-05-20 Thread Pierre Ynard
Hello, The getcwd() function is defined in io.h, whereas it doesn't exist on WinCE. Attempts to redefine it (for portability reasons) fail. Regards, -- Pierre Ynard "Une âme dans un corps, c'est comme un dessin sur une feuille de papier." ---