Hi. It seems that if DLL is used on Windows the binary mode (int _fmode = _O_BINARY; ) must be set in a module even if it is already set in the library (gis, G__open) Does it make sense? How to do it? If I add it to gis.h compiler fails with: multiple definition of `__fmode' Radim