Sign in Join

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

Mailing lists / lazarus / 2011-10

How do you use switch over from .lrs files to .res files in Lazarus

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Frank Church

I want to switch to use .res files instead of .lrs files, but when I run the program I get an error about no streaming method available and I need to uncomment the references to the .lrs files in the sources to get the program working again.

If you want to use .res files does Lazarus automatically generate them for each form, or there some manual steps involved?

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111002/2d81497e/attachment.html>

Reply by email

Bart
to Frank Church

In Project options there is somewhere a choice available to set this. (You might have to remove one line from the .lpr IIRC, where an .RC was included as resource, I think it was ifdef-ed for Windows, so it would be easy to find)

Bart

Frank Church wrote 14 lines
I want to switch to use .res files instead of .lrs files, but when I run the program I get an error about no streaming method available and I need to uncomment the references to the .lrs files in the sources to get the program working again. If you want to use .res files does Lazarus automatically generate them for each form, or there some manual steps involved? -- Frank Church ======================= http://devblog.brahmancreations.com

Reply by email

Mattias Gaertner
to Frank Church: I want to switch to use .res files instead of .lrs files, but when I run the program I…
I want to switch to use .res files instead of .lrs files, but when I run the program I get an error about no streaming method available and I need to uncomment the references to the .lrs files in the sources to get the program working again.

Have you added the {$R *.lfm} directive to the unit?

If you want to use .res files does Lazarus automatically generate them for each form, or there some manual steps involved?

Mattias

Reply by email