Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-10

win resource sections

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rimgaudas Laucius

Hello,

could you tell what progress (approximately in percents) is done with Windows exe resource sections support, please?

Herewith i want to note that login status label in bug tracker page is "logout" always. It is confusing a bit.

Regards,
Rimgaudas

Reply by email

Michael Van Canneyt
to Rimgaudas Laucius
Rimgaudas Laucius wrote
Hello, could you tell what progress (approximately in percents) is done with Windows exe resource sections support, please?

Resource sections are supported in Windows. You need windres, and add a {$R somefile.res} statement. That's it. You can use the winAPI resource functions to access the resources.

There is resource section support for Elf binaries too. It is possible to include a resource file compiled for windows in a Linux binary. Here we provide a separate API which is much like the Windows API.

Herewith i want to note that login status label in bug tracker page is "logout" always. It is confusing a bit.

Probably because you are logged in as guest automatically ?

Michael.

Reply by email

Rimgaudas Laucius
to Michael Van Canneyt

But, what about resourcestrings?

Earlier message 36 lines
----- Original Message ----- From: "Michael Van Canneyt" To: "FPC-Pascal users discussions" Sent: Wednesday, October 25, 2006 1:31 PM Subject: Re: [fpc-pascal] win resource sections > > > On Wed, 25 Oct 2006, Rimgaudas Laucius wrote: > >> Hello, >> >> could you tell what progress (approximately in percents) is done with >> Windows >> exe resource sections support, please? > > Resource sections are supported in Windows. You need windres, and > add a {$R somefile.res} statement. That's it. You can use the winAPI > resource functions to access the resources. > > There is resource section support for Elf binaries too. It is possible > to include a resource file compiled for windows in a Linux binary. > Here we provide a separate API which is much like the Windows API. > >> >> Herewith i want to note that login status label in bug tracker page is >> "logout" always. It is confusing a bit. > > Probably because you are logged in as guest automatically ? > > Michael. > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >

Reply by email

Michael Van Canneyt
to Rimgaudas Laucius: But, what about resourcestrings? ----- Original Message ----- From: "Michael Van Canneyt"…
Rimgaudas Laucius wrote
But, what about resourcestrings?

Resourcestrings in FPC are not implemented using windows resources, unlike in Delphi. The reason is obvious: FPC is cross platform.

To make this work, we would need to create a unit which sets the resources from the included windows resources. If you want I can assist in creating such a unit.

Michael.

Show quoted text 45 lines
----- Original Message ----- From: "Michael Van Canneyt" To: "FPC-Pascal users discussions" Sent: Wednesday, October 25, 2006 1:31 PM Subject: Re: [fpc-pascal] win resource sections > > > On Wed, 25 Oct 2006, Rimgaudas Laucius wrote: > > > Hello, > > > > could you tell what progress (approximately in percents) is done with > > Windows > > exe resource sections support, please? > > Resource sections are supported in Windows. You need windres, and > add a {$R somefile.res} statement. That's it. You can use the winAPI > resource functions to access the resources. > > There is resource section support for Elf binaries too. It is possible > to include a resource file compiled for windows in a Linux binary. > Here we provide a separate API which is much like the Windows API. > > > > > Herewith i want to note that login status label in bug tracker page is > > "logout" always. It is confusing a bit. > > Probably because you are logged in as guest automatically ? > > Michael. > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email