in reply to Win32::OLE Usage
These two are not equivalent.
hs.RegisterEventCB 3, Me $cb = $obj->RegisterEventCB(3,$self);
You note that:
RegisterEventCB takes a long, and a reference to a form with a HSEvent(parms as variant) method declared public
You are passing a long (digit 3) and a blessed anon hash to the RegisterEventCB method when it wants a reference to a form (object). I think you need to generate the form object somewhere - Me.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Win32::OLE Usage
by Nitrox (Chaplain) on Feb 07, 2003 at 03:15 UTC | |
by MZSanford (Curate) on Feb 07, 2003 at 20:44 UTC |