Thiago Macieira wrote: > Peter Kümmel wrote: >> struct DBusFile { >> int d; >> }; >> >> Should I use this type also for the unix code or >> is a other way preferred? > > Should be ok for Unix, but for Windows I'd have expected to see a HANDLE. > Aren't you using CreateFile to open the files? Currently we use _open, which comes with io.h. -- Peter Kümmel