Felipe Monteiro de Carvalho ha scritto:
On Wed, Jul 9, 2008 at 2:20 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
All targets in 2.3.1 now support {$R file} syntax.

So I assume we have a cross-platform resource compiler now, so is
windres unnecessary? Was pre-processing also implemented?

No. To compile .rc files to .res you still need windres. In general you can compile and run it fine on little endian machines, but it doesn't work (at least, it didn't work 6 months ago, don't know if newer versions are endian safe) on big endian machines. So there is still no .rc compiler. However the 2.3.1 fpcres is able to compile dfm/lfm/xfm files.


Also, how do you access the resources? With TResourceStream?

With RTL functions like FindResource, LoadResource and so on. TResourceStream uses these functions.

Giulio
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to