Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
swdev:howto:develop_com_components_and_automation [2009/11/05 10:38]
smayr
swdev:howto:develop_com_components_and_automation [2009/11/05 11:12] (current)
smayr
Line 105: Line 105:
       * Setup project to auto register server, to avoid littering the Windows Registry while developing.        * Setup project to auto register server, to avoid littering the Windows Registry while developing. 
         * Select Project > Options > Linker > Auto register type library.         * Select Project > Options > Linker > Auto register type library.
 +      * Register from command line: <code>C:\> regsvr32 myServer.dll </code> or <code>C:\> tregsvr myServer.dll</code>
     * Out-of-process (EXE) automation server:     * Out-of-process (EXE) automation server:
       * To register, run this from command line: <code>C:\> myapp.exe /regserver </code>       * To register, run this from command line: <code>C:\> myapp.exe /regserver </code>
Line 364: Line 365:
  * [[http://www.gekko-software.nl/Delphi/art10.htm|Server Events for Two-way Communication]] - Gekko Software  * [[http://www.gekko-software.nl/Delphi/art10.htm|Server Events for Two-way Communication]] - Gekko Software
  * [[http://www.techvanguards.com/com/|COM Tutorials and Concepts]] - TechVanguards  * [[http://www.techvanguards.com/com/|COM Tutorials and Concepts]] - TechVanguards
 + * [[http://podgeretsky.com/ftp/docs/Delphi/D5/dg/autosrvr.html#3201|Delphi 5 Dev Guide: Creating an Automation Server]]