My IDE is Delphi 10.3.
I have a Firebird 2.5 table, and the attachment field type is Binary Blob. Can I open this stored file (image, word, excel, pdf, txt, ...) without save to disk?
If this is not possible, I save the file, and after open or modified, how can I delete this file?
If the software that you use to open the content allows opening anything other than file then yes. It may be a named or unnamed pipe, shared memory, OLE IStream interface, etc.
Otherwise it may be complicated but still possible.
In the worst case you can use ordinary temporary files, but do not forget to use the flags
FILE_FLAG_DELETE_ON_CLOSEandFILE_ATTRIBUTE_TEMPORARYto avoid polluting file system.