Sign in Join
Wiki copytemporary

Com Programming in Free Pascal: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Com Programming in Free Pascal

OldNewLine
1+## Overview
2+
3+COM is a Windows only technology used for communicating with external code. COM is e.g. used in [[LazActiveX|ActiveX]].
4+
5+## Bug reports about COM
6+
7+See [Open Mantis items with COM tag](http://bugs.freepascal.org/search.php?project_id=6&status_id%5B%5D=10&status_id%5B%5D=20&status_id%5B%5D=30&status_id%5B%5D=40&status_id%5B%5D=50&sticky_issues=on&sortby=last_updated&dir=DESC&hide_status_id=-2&tag_string=com).
8+
9+Some of these also have nice demos attached. See also closed bug [Issue \#0014204](https://bugs.freepascal.org/view.php?id=0014204).
10+
11+## Urls
12+
13+1. <http://delphi.about.com/library/weekly/aa121404b.htm>
14+2. <http://www.codeproject.com/KB/atl/udtdemo.aspx>
15+3. <http://edndoc.esri.com/arcobjects/9.1/ExtendingArcObjects/Ch02/TypeLibrariesAndIDL.htm>
16+4. <http://delphi.about.com/library/weekly/aa121404a.htm>
17+5. <http://www.codeproject.com/KB/atl/udtdemo.aspx>
18+6. <http://www.codeproject.com/KB/atl/com_atl.aspx>
19+7. <http://www.codeproject.com/KB/atl/RegistryMap.aspx>
20+8. <http://www.techvanguards.com/stepbystep/comdelphi/server.asp>
21+9. <http://www.techvanguards.com/com/tutorials/tips.asp>
22+10. <http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/ComObj.html>
23+11. <http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/ComServ.html>
24+
25+## TODO
26+
27+> **Warning:** This section has not been updated in a long time. Please verify if this is still correct
28+
29+- reference counting is not working (DllCanUnloadClass returns 1)
30+- load/register typelib
31+- register/unregister (incomplete implementation from visual studio RGS sample file)
32+- integrate WIDL.exe (wine version of MIDL)
33+- finish TTypedComObject
34+- create TAutoObject
35+- implement tlbimp.exe
36+- port to linux as NPAPI wrapper (just partially kidding ;) as base you can us my updated NPAPI scripting code (https://www.mozdev.org/bugs/show_bug.cgi?id=8708) \[^\] - already working with FPC (similar entry point functions as in COM) :)
37+
38+- integrate MIDL.exe (wine old version of MIDL has an incorrect output format :( )
39+- try building latest WIDL -\> report bugs to wine
40+- create TAutoObject
41+- finish tlbimp.exe (bug 0014802)
42+- TEST, TEST, TEST :) serious
43+
44+---
45+*From the Free Pascal wiki, page "Com Programming in Free Pascal", as it stood on 2019-12-16 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
46+Category: FPC
47+Category: Windows

Back to history