Giulio Bernardi wrote:
I have no fpc available at the moment. However, you can build yourself
the fcl-res documentation (run makehtml.sh) in xml directory, inside fcl-res
directory. There are examples for groupiconresource too.
Yes, examples are about creating an icon resource from an ico file.
In general, if you need to use resources at runtime you should check Microsoft documentation about resources. If you need to manipulate resources (e.g. read a .ico file in a series of resources, or the other way around) use fcl-res.
Can't find how to do this other way around using fcl-res. I have a resource handle and need an ico stream. At moment I implemented this myself in Lazarus but I would like to switch to fcl-res code if it is available (to reduce code duplication).

Best regards,
Paul Ishenin.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to