Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
swdev:howto:develop_com_components_and_automation [2009/11/03 10:44] smayr |
swdev:howto:develop_com_components_and_automation [2009/11/05 11:12] (current) smayr |
||
---|---|---|---|
Line 93: | Line 93: | ||
== Wrapping an Existing Application Functionality in an Automation Object == | == Wrapping an Existing Application Functionality in an Automation Object == | ||
+ | Especially use this method for Out-of-process automation servers: | ||
* Open an existing Delphi application project. | * Open an existing Delphi application project. | ||
* Select New > ActiveX > Automation Object. | * Select New > ActiveX > Automation Object. | ||
Line 100: | Line 101: | ||
* Select '' | * Select '' | ||
* Register the COM Server. | * Register the COM Server. | ||
- | * Select Run > Register ActiveX Server. | + | |
- | * Setup project to auto register server, to avoid littering the Windows Registry while developing. | + | |
- | * Select Project > Options > Linker > Auto register type library. | + | * Setup project to auto register server, to avoid littering the Windows Registry while developing. |
+ | * Select Project > Options > Linker > Auto register type library. | ||
+ | * Register from command line: < | ||
+ | * Out-of-process (EXE) automation server: | ||
+ | * To register, run this from command line: < | ||
+ | * To unregister, run this from command line: < | ||
== Linking Multiple Clients to a Single Instance of a COM Object == | == Linking Multiple Clients to a Single Instance of a COM Object == | ||
Line 359: | Line 365: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// |