1
|
1 |
NextID.py
|
|
2 |
|
|
3 |
../../MakeCOMServer.py [options] NextID.py
|
|
4 |
../../Build.py DriveNextID.spec
|
|
5 |
distdriveNextID\driveNextID --register
|
|
6 |
testNextID.vbs
|
|
7 |
python
|
|
8 |
>>> import win32com.client
|
|
9 |
>>> import pythoncom
|
|
10 |
>>> o = win32com.client.Dispatch('MEInc.NextID', clsctx = pythoncom.CLSCTX_LOCAL_SERVER)
|
|
11 |
>>> o.getNextID()
|
|
12 |
'aaaab0000003'
|
|
13 |
>>> ^Z
|
|
14 |
distdriveNextID\driveNextID --unregister
|
|
15 |
|
|
16 |
the others:
|
|
17 |
|
|
18 |
../../Makespec [options] <script>
|
|
19 |
<run it>
|
|
20 |
<run it again - esp the genpy stuff>
|
|
21 |
|
|
22 |
The shell stuff doesn't work on my W2k box (permissions) or NT (old shell, old extensions).
|
|
23 |
testEnsureDispatch doesn't work under old versions (no EnsureDispatch).
|