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
> > 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
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
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.