<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<blockquote cite="mid:57F4BFE2.8030206@avidsoft.com.hk" type="cite"><font
size="+1">I am having problem using the Type Library generated.<br>
Don't know how to use it.<br>
<br>
I tried to 'learn' from old Delphi 5 source code (the only
version of Delphi I have) that worked with Excel 2000 but found
that the type library are so different from the one generated by
FPC.<br>
</font><br>
</blockquote>
I try to avoid that OLE stuff as much as possible - too much pain...
What is the reason why you want to control Excel? Maybe you can
achieve the same in a different way. If it's only reading or writing
files you should have a look a fpspreadsheet which covers - I'd say
- 90% of what is needed (this is not what Excel offers - Excel has
always offered more features than were needed).<br>
<br>
If you insist on Automation you should look at the wiki articles
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/Office_Automation">http://wiki.lazarus.freepascal.org/Office_Automation</a> and
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/ExcelAutomation/de">http://wiki.lazarus.freepascal.org/ExcelAutomation/de</a> - the latter
is in German, though.<br>
</body>
</html>