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 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. i've written a small lib that allow the compilation of a set of linux libraries without code modifications. It is minimal in the sense that i ported only the functions i needs. If you want, you can use it. Vincent Torri ------------------------------------------------------------------------------ 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 Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel