Sign in Join

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

Mailing lists / lazarus / 2011-03

exception class 'EResNotFound' with message: Resource "H1" not found

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Peter Williams

Hi All,
I have a legacy Delphi component which I converted to Lazarus. I needed to delete the compiler directive:
{$R *.res}
in order to get my component to compile. Now I get this run-time error in the demo project which I am using to test it. The only .res file I have is one from it's original Delphi 7 source code. The original .res file is 510 KB. How do I convert to .res file to a Lazarus one?

Debugger Exception Notification
Project demo1.exe raised exception class 'EResNotFound' with message:Resource "H1" not found [ ] Ignore this exception type
Best Regards,Peter / pew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110319/ea1bbe76/attachment.html>

Reply by email

Peter Williams

Hi All,
I have a legacy Delphi component which I converted to Lazarus. I needed to delete the compiler directive:
{$R *.res}
in order to get my component to compile. Now I get this run-time error in the demo project which I am using to test it. The only .res file I have is one from it's original Delphi 7 source code. The original .res file is 510 KB. How do I convert to .res file to a Lazarus one?

Debugger Exception Notification
Project demo1.exe raised exception class 'EResNotFound' with message:Resource "H1" not found [ ] Ignore this exception type
Best Regards,Peter / pew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110319/637dd1a3/attachment.html>

Reply by email

Paul Ishenin
to Peter Williams: I have a legacy Delphi component which I converted to Lazarus. I needed to delete the…
Peter Williams wrote 15 lines
Hi All, I have a legacy Delphi component which I converted to Lazarus. I needed to delete the compiler directive: {$R *.res} in order to get my component to compile. Now I get this run-time error in the demo project which I am using to test it. The only .res file I have is one from it's original Delphi 7 source code. The original .res file is 510 KB. How do I convert to .res file to a Lazarus one?

Use your res files in Lazarus as is.

Best regards,
Paul Ishenin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110319/72b50d6b/attachment-0001.html>

Reply by email