thanks for the replies, the idea of extending TFileStream to have the same functions as File sounds good, but would really give me what I need. To be honest I dont think it is possible, let me explain. Im writing a VFS (virtual file system) for fpc, so all files are stored in one big file. This big file is accessed as a stream and a file read by stream a number of bytes that make up anyone file. This works well so far. I get TFileStreams from the VFS which I can read and write to. However these 'files' are not compatible with functions etc. that require real files... either a path or a file 'pointer'...

Any ideas?

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to