Re: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-07-02 Thread Giulio Bernardi
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

RE: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-06-25 Thread Tomas Hajny
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

Re: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-06-25 Thread Jonas Maebe
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

RE: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-06-25 Thread Tom Carly
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

RE: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-06-25 Thread Michael Van Canneyt
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. __

RE: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-06-25 Thread Tom Carly
> 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

Re: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-06-24 Thread Michael Van Canneyt
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

[fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-06-24 Thread Roland Turcan
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

[fpc-pascal] Shared library with resources which contain bitmaps on Linux

2008-06-23 Thread Roland Turcan
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