this is both the compile and run-time problem, int truncate(const char *path, size_t length) functions appears not to be included in the runtime.dll file. Ondrej Florian OFlorian@geocities.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".