<p>Am 06.03.2017 23:57 schrieb "fredvs" <<a href="mailto:fiens@hotmail.com">fiens@hotmail.com</a>>:<br>
><br>
> Re-hello.<br>
><br>
> Ok, I do not find yet the guilty in my code, I will re-try a other day.<br>
> By the way, your code is working perfectly Sven.<br>
><br>
> Now, last part of the question: how to convert that file stored into<br>
> ressource but without to write to the disk (only memory stream)?<br>
><br>
> A TFileStream could be used but it needs a path.<br>
> And in ressource there is no path to use in<br>
> TFileStream.Create('/the/path/filename', fmOpenRead);<br>
><br>
> What could be the solution ?</p>
<p>To access a file stored as a resource you need to use TResourceStream.</p>
<p>Regards,<br>
Sven</p>