Difference between revisions of "Com Programming in Free Pascal"
From Free Pascal wiki
Jump to navigationJump to search (→Bugreports about COM: fixed link to bugs.) |
m (Added Windows category) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | == Overview == |
+ | COM is a Windows only technology used for communicating with external code. COM is e.g. used in [[LazActiveX|ActiveX]]. | ||
− | + | == Bug reports about COM == | |
− | + | See [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 Open Mantis items with COM tag ]. | |
− | = Urls = | + | Some of these also have nice demos attached. See also closed bug {{MantisLink|0014204}}. |
+ | |||
+ | == Urls == | ||
# http://delphi.about.com/library/weekly/aa121404b.htm | # http://delphi.about.com/library/weekly/aa121404b.htm | ||
Line 19: | Line 22: | ||
# http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/ComServ.html | # http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/ComServ.html | ||
− | = TODO = | + | == TODO == |
− | + | {{Warning|This section has not been updated in a long time. Please verify if this is still correct}} | |
* reference counting is not working (DllCanUnloadClass returns 1) | * reference counting is not working (DllCanUnloadClass returns 1) | ||
* load/register typelib | * load/register typelib | ||
Line 35: | Line 38: | ||
* finish tlbimp.exe (bug 0014802) | * finish tlbimp.exe (bug 0014802) | ||
* TEST, TEST, TEST :) serious | * TEST, TEST, TEST :) serious | ||
+ | |||
+ | [[Category:FPC]] | ||
+ | [[Category:Windows]] |
Latest revision as of 09:59, 16 December 2019
Overview
COM is a Windows only technology used for communicating with external code. COM is e.g. used in ActiveX.
Bug reports about COM
See Open Mantis items with COM tag .
Some of these also have nice demos attached. See also closed bug Issue #0014204.
Urls
- http://delphi.about.com/library/weekly/aa121404b.htm
- http://www.codeproject.com/KB/atl/udtdemo.aspx
- http://edndoc.esri.com/arcobjects/9.1/ExtendingArcObjects/Ch02/TypeLibrariesAndIDL.htm
- http://delphi.about.com/library/weekly/aa121404a.htm
- http://www.codeproject.com/KB/atl/udtdemo.aspx
- http://www.codeproject.com/KB/atl/com_atl.aspx
- http://www.codeproject.com/KB/atl/RegistryMap.aspx
- http://www.techvanguards.com/stepbystep/comdelphi/server.asp
- http://www.techvanguards.com/com/tutorials/tips.asp
- http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/ComObj.html
- http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/ComServ.html
TODO
- reference counting is not working (DllCanUnloadClass returns 1)
- load/register typelib
- register/unregister (incomplete implementation from visual studio RGS sample file)
- integrate WIDL.exe (wine version of MIDL)
- finish TTypedComObject
- create TAutoObject
- implement tlbimp.exe
- 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) :)
- integrate MIDL.exe (wine old version of MIDL has an incorrect output format :( )
- try building latest WIDL -> report bugs to wine
- create TAutoObject
- finish tlbimp.exe (bug 0014802)
- TEST, TEST, TEST :) serious