Hi Bart and Eric > it's the other way around! You need the latter ones: > dos_open, dos_close, rwblock,... > > Basically the old dos_read() and dos_write() were replaced by rwblock() > quite a few years ago but somebody (it could have been me) forgot to > remove the prototypes in proto.h. > Ok, got it. > The DosOpen etc functions are higher level functions that worry about > things you don't need: character i/o, share, remote access, and some > DOS bookkeeping, whereas the dos_* functions work with FAT and only > with FAT. > I also noticed that DosRead() and DosWrite() are both macros that are expanded as DosRWSft(), which calls the rwblock(). Therefore, what I'm gonna do is implementing the two functions: dos_read() and dos_write(), in terms of rwblock(). > Bart
Thanks for your suggestions guys, now I can continue. Enrico ------------------------------------------------------ Leggi GRATIS le tue mail con il telefonino i-modeĀ di Wind http://i-mode.wind.it/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel