Wrong type for open() parameter; fixed. Added _PDCLIB_NOHANDLE to _PDCLIB_config.h.