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 11:01]
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>