there were three issues:
1. you have to call growl.ConfigureLocal() or growl.ConfigureRemote()
before you try to use Register or Notify (that initializes the object
by setting any connection information)
2. the arguments to Register and Notify have to have parentheses
around them. i dont know the exact reason, but it has to do with
Interop and byval and byref
3. the Register function in the COM wrapper i gave you will never work
from VBScript. since it takes an array as the second parameter (array
of notification types), the COM object method must take these
parameters as object[] instead of NotificationType[]. i added another
method called Register2 that works with VBScript (and left the
original Register with strongly-typed arrays for languages that have
strong types).
i am attaching a new COM dll as well as a working VBScript example.
this worked for me - hopefully it will work for you as well.
2009/12/9 Brian Dunnington <
briandu...@gmail.com>: