I'm sorry to say that at the moment, there is no support for resources
in shared libraries in 2.3.1 on non-windows targets: that is, you can
only embed resources in the program that uses them.
It is planned though.
bye
Giulio
___
fpc-pascal maillist
On Wed, June 25, 2008 13:07, Michael Van Canneyt wrote:
> On Tue, 24 Jun 2008, Tom Carly wrote:
>
>> > With version 2.3.1, you can try the new support for resources,
>> > and it should work "out of the box".
>>
>> How can you obtain 2.3.1? I cannot find it in the repository...
>
> You can get 2.3.1
On 25 Jun 2008, at 13:40, Tom Carly wrote:
You can get 2.3.1 only from subversion.
I don't see it in the repository, the last release that is in there
is 2_2_2.
2.3.1 is not a release, it's the version number of the current main
development version. So you have to check out trunk to obt
On Tue, 24 Jun 2008, Tom Carly wrote:
> > With version 2.3.1, you can try the new support for resources,
> > and it should work "out of the box".
>
> How can you obtain 2.3.1? I cannot find it in the repository...
> You can get 2.3.1 only from subversion.
I don't see it in the repository, the la
On Tue, 24 Jun 2008, Tom Carly wrote:
> > With version 2.3.1, you can try the new support for resources,
> > and it should work "out of the box".
>
> How can you obtain 2.3.1? I cannot find it in the repository...
You can get 2.3.1 only from subversion.
Michael.
__
> With version 2.3.1, you can try the new support for resources,
> and it should work "out of the box".
How can you obtain 2.3.1? I cannot find it in the repository...
BR
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fre
On Tue, 24 Jun 2008, Roland Turcan wrote:
> Hello FPC-Pascal users discussions!
>
> How can I build a shared library which contains many bitmaps loaded
> dynamically from the code using by:
>
> procedure TForm1.Button1Click(Sender: TObject);
> CONST MYRES_DLL='./libmyres.so';
> begin
> F
Hello FPC-Pascal users discussions!
How can I build a shared library which contains many bitmaps loaded
dynamically from the code using by:
procedure TForm1.Button1Click(Sender: TObject);
CONST MYRES_DLL='./libmyres.so';
begin
FhMod := LoadLibrary (PCHAR (MYRES_DLL));
IF FhMod = 0 THEN b
Hello FPC-Pascal users discussions!
How can I build a shared library which contains many bitmaps loaded
dynamically from the code using by:
procedure TForm1.Button1Click(Sender: TObject);
CONST MYRES_DLL='./libmyres.so';
begin
FhMod := LoadLibrary (PCHAR (MYRES_DLL));
IF FhMod = 0 THEN b