To make a long and ugly story short if
Win32::OLE->MessageLoop
Is executing perl’s alarm function does not work. I’ve tested it very thoroughly and am VERY sure that alarm does not trigger it’s event routine while MessageLoop has control. While it is, at least for my purposes, unfortunate, I’m not sure it is a bug.
I have a technique that uses Win32::OLE->SpinMessageLoop that works to a point. Unfortunately, it changes the timing of the OLE object’s events. Since for my purposes I care about the timing, it is not a trackable solution.
That said, does anyone know of some sort of work around? Perhaps a technique to timeout the Win32::OLE->MessageLoop routine? Perhaps a way to cause timed execution of a perl event routine on a timer that is consistent with Win32::OLE->MessageLoop (say an OLE timer)?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.