> > 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 to provide a getcwd() on platforms
where it is missing, so that the rest of the code can still use it
transparently.
--
Pierre Ynard
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel