Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://505500]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-07 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls