win32-ole's Introduction
The Win32::OLE module provides OLE Automation capabilities to Perl. It is based on the OLE module distributed by ActiveState with their "Perl for Win32" port of Perl 5.003_07. Win32::OLE replaces the older OLE module, which is now considered obsolete. Win32::OLE is already included in the ActivePerl binary distribution. This module is compatible with Perl 5.004_01 and above. Compilation requires either Microsoft Visual C++ 4.2b or later, or Borland C++ version 4.02 or above. Do: perl Makefile.PL $make $make test $make install where $make is either "nmake" or "dmake". See the pod documentation for details of usage. The file NEWS.pod contains a history of user visible changes against the previous version. ***WARNING*** This version of the module contains ALPHA level support for OLE events. This support doesn't work yet for some OLE controls and the user interface is still subject to change!
win32-ole's People
win32-ole's Issues
t/2_variant.t failing tests 2, 4, 21 and 26 when NV is __float128 or long double
The attached patch corrects the bugs in the t/2_variant.t test script that cause the failures.
Cheers,
Rob
Timeout or break in MessageLoop [RT #15538]
This is addressed in RT issue [https://rt.cpan.org/Public/Bug/Display.html?id=15538] - essentially, there are times when the automation object can't be trusted to send any more events, and that leaves us stranded in MessageLoop with no way to time out.
A cheap and easy way to implement an optional break-out would simply be to pass a closure in, and call it with call_sv on every trip through the loop. I feel like that would maybe call the closure too often, but I have no feel for how that would be decided or measured. It would, however, be easy. You wouldn't even have to monitor any return - the callback could simply QuitMessageLoop if that's what was appropriate.
I'm going to code this in the next day or two unless somebody tells me it's stupid. I'm pretty sure Windows will regulate how often the message loop gets called, in other words, that tight loop isn't actually using any meaningful system resources except what it costs to run a Perl function in the first place.
The alternative would be to do a SetTimer and trap the WM_TIMER; then, however, QuitMessageLoop would probably need to kill the timer. That feels as though it would be a leak risk.
warn(SvPVX(sv)) and croak(SvPVX(sv)) with no format results in errors with -Werror=format-security
warn(SvPVX(sv)) and croak(SvPVX(sv)) with no format
results in errors with -Werror=format-security
format not a string literal and no format arguments
Pass "%s" format string through to get compile work
( pull request to follow )
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.