Am 07.03.2017 13:49 schrieb "fredvs" <fi...@hotmail.com>: > > > To access a file stored as a resource you need to use TResourceStream. > > Ho my Dog, I did not know this one. > More than perfect, many thanks Sven. > > PS: About array of float into TFileStream, after Googling a while, it s not > possible to do directly like fpc does for C compilers. > You need a conversion (like explained by Lukasz Sokol). > And it is the reason why I am (once again) very impressed by fpc.
Huh? Of course you can do that rather similary in C as well. > Many thanks Sven for your help. > Do you agree if I add your name into the list of the "great contributors" of > uos (https://github.com/fredvs/uos) ? > I don't think that's necessary. I'm merely doing my "job"... Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal