Difference between revisions of "Com Programming in Free Pascal"

From Lazarus wiki
Jump to navigationJump to search
Line 18: Line 18:
 
# 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/ComObj.html
 
# 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 =
 +
 +
- 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) :)

Revision as of 14:48, 26 October 2009

Bugreports about COM

See [Mantis items with COM tag ]. (Currently 0014822, 0014204 and 0010569 and some items about interfaces)

Some of these (most notably 14822) also have nice demoes attached.

Urls

  1. http://delphi.about.com/library/weekly/aa121404b.htm
  2. http://www.codeproject.com/KB/atl/udtdemo.aspx
  3. http://edndoc.esri.com/arcobjects/9.1/ExtendingArcObjects/Ch02/TypeLibrariesAndIDL.htm
  4. http://delphi.about.com/library/weekly/aa121404a.htm
  5. http://www.codeproject.com/KB/atl/udtdemo.aspx
  6. http://www.codeproject.com/KB/atl/com_atl.aspx
  7. http://www.codeproject.com/KB/atl/RegistryMap.aspx
  8. http://www.techvanguards.com/stepbystep/comdelphi/server.asp
  9. http://www.techvanguards.com/com/tutorials/tips.asp
  10. http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/delphivclwin32/ComObj.html
  11. 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) :)