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?

Comment on Re: Win32::OLE and alarm
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2015-12-01 20:06 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (26 votes), past polls