blob: 5fa3a8bb72cc5c7f20070aab9b2b9207f02bbcf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
WriterDemo.wsc
=================================================================================
Register the component by right-clicking on the file in the file explorer and select
register.
The component registered as being remotable.That is, it has got an AppID entry (with
a DllSurrogate subkey).That enables us to use dcomcnfg.exe in order to set AccessPermissions,etc.
which is necessary because of the use of the JScript Array object. The automation
bridge will query for IDispatchEx,which is a call from server to client.Hence the server
needs the proper right within the client.
The component implements a run function, which runs the demo example that is written
in JScript.
|