<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
18.03.2011 23:16, Peter Williams wrote:
<blockquote cite="mid:COL109-W230F0478D1464BADAD5839BDB00@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div><font class="Apple-style-span" face="Tahoma" size="2">Hi All,</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2">I have
a legacy Delphi component which I converted to Lazarus. </font></div>
<div><span class="Apple-style-span" style="font-family: Tahoma;
font-size: 10pt;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-family: Tahoma;
font-size: 10pt;">I needed to delete the compiler directive:</span></div>
<div><font class="Apple-style-span" face="Tahoma" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2">{$R
*.res}</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2">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.</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2">The
only .res file I have is one from it's original Delphi 7
source code. The original .res file is 510 KB.</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2"><br>
</font></div>
<div><font class="Apple-style-span" face="Tahoma" size="2">How do
I convert to .res file to a Lazarus one?</font></div>
</blockquote>
Use your res files in Lazarus as is.<br>
<br>
Best regards,<br>
Paul Ishenin<br>
</body>
</html>