blob: 81dff56b47f46b0c2d238fa123a5c5183e93f32e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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.
|