You can embed the resource file as-is on linux.

So FPC can read .res file just like on Windows?

To extract the images from the resource, you'll need the fpc FindResource and LoadResource calls to load them.

The component use Delphi's LoadFromResource to read the image from the resource file and paint it on its Canvas. Should I change this code? Or the component simply compilable by FPC on any platforms? Is there any example?

and add them again as lazarus resources.

How to add resources into a component on Lazarus? Sorry, I can't find any appropriate menu item regarding this on Lazarus.

Thanks.

-Bee-

has Bee.ography at:
http://beeography.wordpress.com

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

Reply via email to