Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Win32::OLE and alarm

by Trix606 (Monk)
on Nov 03, 2005 at 20:20 UTC ( #505500=note: print w/replies, xml ) Need Help??

in reply to Win32::OLE and alarm

Have you tried using: Win32::Sleep() to create the delay?

Replies are listed 'Best First'.
Re^2: Win32::OLE and alarm
by puff (Beadle) on Nov 03, 2005 at 20:27 UTC
    I don't think sleep can help (native or Win32) since I need to exit the event routine so that the OLE event loop can continue to run and possibly send additional events.

    I think what I'm looking for is a perl callback timer mechanism that is consistent with Win32::OLE. A com object callback timer might work.
      What about using Win32::OLE->SpinMessageLoop() and creating your own timer loop.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://505500]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2018-02-21 18:03 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (285 votes). Check out past polls.