ANNOUNCE: ActivePerl 5.14.4.1405 and 5.16.3.1603 released

2013-03-22 Thread Jan Dubois
ActiveState is pleased to announce the release of - ActivePerl 5.14.4 build 1405 - ActivePerl 5.16.3 build 1603 complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with Acti

Re: 'moving' an activeperl install to a new machine (xp to windows 7)

2013-03-15 Thread Jan Dubois
On Fri, Mar 15, 2013 at 1:12 PM, Greg VisionInfosoft wrote: > hi all, ive got a wonderfully working activeperl 5.8.9 environment > that was originall setup on Windows XP. > > so that i dont need to reinstall the many, many packages that ive > ammased throughout the years - i had the thought to sim

ANNOUNCE: ActivePerl 5.12.5.1206, 5.14.3.1404, and 5.16.2.1602 released

2013-01-10 Thread Jan Dubois
ActiveState is pleased to announce the release of - ActivePerl 5.12.5 build 1206 (Business Edition only) - ActivePerl 5.14.3 build 1404 - ActivePerl 5.16.2 build 1602 complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available.

Re: dealing with Win32::OLE in when on non-win32 platforms?

2012-11-02 Thread Jan Dubois
On Fri, Nov 2, 2012 at 2:39 PM, Dave Horner wrote: > Hello, > > I found this address from the following: > http://vlsicad.ucsd.edu/Resources/SoftwareLinks/ActivePerl/Perl-Win32/perlwin32faq12.html > > I am looking for guidance on how to use Win32::OLE qw(in) on multiple > platforms. > It works fi

ActiveState announces ActivePerl 5.16.1

2012-09-12 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.16.1 build 1601, a complete, ready-to-install binary distribution of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed information or

ActiveState announces ActivePerl 5.16.0

2012-06-19 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.16.0 build 1600, a complete, ready-to-install binary distribution of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed information or

RE: Calling a Perl exe with VB - VB/Windows changing current path

2012-04-12 Thread Jan Dubois
An executable built by PerlApp can call the PerlApp::exe() function to get the location of the executable itself. Cheers, -Jan From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Ashley Hoff Sent: Thursday, April

RE: Win32::OLE events callback not executed

2012-03-19 Thread Jan Dubois
On Mon, 19 Mar 2012, Howard Tanner wrote: > > I couldn't get any events to be fired either. Perhaps Jan can weigh in since > he seems to be around today. Sorry, I don't know _why_ it isn't working, but I've seen others run into the same problem with SAPI. Unfortunately I don't have time to play

RE: Why can't linker find CreateJobObjectA ?

2012-03-19 Thread Jan Dubois
On Sun, 18 Mar 2012, Sisyphus wrote: On Wed, 14 Mar 2012, "Mark Dootson" wrote: >> Hi, >> >> On 11/03/2012 23:52, Sisyphus wrote: >> >>> An afterthought or two: It's a bug, right ? (It smells like a bug to >>> me.) Is it a bug in perl ? I'm thinking that CORE/win32.h should be >>> assigning the va

RE: gui debuggers?

2012-03-19 Thread Jan Dubois
On Mon, 19 Mar 2012, Daniel Rawson wrote: > Chris - > > That's what I was afraid of . . . .my 5.14.2 install is definitely > 64-bit, but the old PDK is from 2004, so it's certainly 32-bit :-( The 32-bit PDK debugger should still work with 64-bit Perl. They run in separate processes and just exchan

RE: gui debuggers?

2012-03-19 Thread Jan Dubois
y other ideas? > > Thanks! > > Dan > > On 03/19/12 12:55 PM, Jan Dubois wrote: > > Daniel, > > > > There is no GUI debugger included in ActivePerl (I think Mark > > may be mixing it up with the GUI interface to Perl::Critic, > > which was initially a

RE: gui debuggers?

2012-03-19 Thread Jan Dubois
Daniel, There is no GUI debugger included in ActivePerl (I think Mark may be mixing it up with the GUI interface to Perl::Critic, which was initially added to the PDK, but has been moved to ActivePerl since then). However, the GUI debugger from your PDK should still work with the latest ActivePer

RE: simple question about using activestates PPM repository

2012-03-16 Thread Jan Dubois
The problem is that there are two PPM4 repositories for ActivePerl 5.8, one for builds 818-824, and one for builds 825 and later. I can’t remember the details, but there was some issue fixed in build 825 that made PPM build a lot mode modules. But modules built against 825 may link against symbol

RE: Daylight Savings Time?

2012-01-26 Thread Jan Dubois
On Thu, 26 Jan 2012, Barry Brevik wrote: > > In list context it returns the DST state as the last value so > > (localtime())[-1] would give that value. > > OK, that is just lame of me to miss that. Thank you so much. Not sure if this matters to you, but at least older versions of Windows (before V

RE: Window 7 x64, @inc search question

2012-01-09 Thread Jan Dubois
On Mon, 09 Jan 2012, Brian Raven wrote: > On Mon, 09 Jan 2012, Styma, Robert E (Robert) wrote: > > > Well I tried upgrading to the newest Perl 5.14 which is also 64 bit > > capable. I discovered that Tk.pm is not yet available from ppm. > > So I backed off to 5.12 which says Tk.pm is available on

RE: Window 7 x64, @inc search question

2012-01-06 Thread Jan Dubois
Your description on how things are looked up sounds correct. You may want to run `perl -V` to check the list of directories in @INC, and the order in which they are searched (the order of lib and site/lib has changed between 5.6 and 5.14). Cheers, -Jan From: perl-win32-users-boun...@lis

RE: FYI... Time::Local::timelocal breaks in 2038

2012-01-03 Thread Jan Dubois
Are you sure? Please include the Perl version used to run your program. And remember that you need Perl 5.12.0 or later to get proper Y2038 support in code Perl functions… Cheers, -Jan From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.acti

RE: ActiveState announces ActivePerl 5.14.2

2011-11-02 Thread Jan Dubois
On Wed, 02 Nov 2011, alex.ign...@atcoitek.com wrote: > > Hello Jan, will PerlApp 8.2.1 build 292072 compile this version of Perl? No, Perl 5.14 support has only been added in the PDK 9.1 release. > How can I find out this info in the future? Look at the cumulative release notes from the latest

RE: Perl 5.14 and Win32

2011-11-01 Thread Jan Dubois
On Tue, 01 Nov 2011, Barry Brevik wrote: > > > You'll have to be more specific. List the extensions by name! > > Describe how they don't work! > > OK, > > Win32::OLE > Win32::ODBC > Win32::Lanman > Win32::Console > Win32::Registry > Win32::NetAdmin > Win32::Process >

RE: Perl 5.14 and Win32

2011-11-01 Thread Jan Dubois
On Tue, 01 Nov 2011, Barry Brevik wrote: > > Right now, I'm on Perl 5.8.8, mostly because I have the Dev Kit for that > version and I have not upgraded yet. > > I'd really like to upgrade to 5.12 or 5.14, but I have heard that Dave > Roth's Win32 extensions do not work under those versions. > >

RE: Array madness

2011-10-18 Thread Jan Dubois
On Tue, 18 Oct 2011, Barry Brevik wrote: > > I've been fooling around with this situation entirely too long. Below is > a demonstration of the problem, but the real situation is part of some > Win32::OLE code I am maintaining, so it's relevant . > > The problem is this: the 1st loop pushes each s

ActiveState announces ActivePerl 5.14.2

2011-10-13 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.14.2 build 1402, a complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed information o

RE: Non-blocking keyboard?

2011-10-07 Thread Jan Dubois
On Fri, 07 Oct 2011, Barry Brevik wrote: > I'm writing a program where a process runs in a loop. I want to > process keyboard input without disturbing the main process in the > loop. I'm trying to use the Win32::Console module for this task (see > code below), but the module blocks on the Input sta

RE: Help with Win32::Process::Create()

2011-08-23 Thread Jan Dubois
On Tue, 23 Aug 2011, Barry Brevik wrote: > > I ALREADY HAVE some code that does this (see below). My question is- is > there a way to periodically poll the outside process to determine if it > is still running? I've tried a few things already and none of them work. if (defined $process) { if

RE: I have a secondary Inbox folder and trying to read the messages in the 2ndary inbox

2011-07-25 Thread Jan Dubois
On Mon, 25 Jul 2011, Wagner, David --- Sr Programmer Analyst --- CFS wrote: > On Mon, 25 Jul 2011, Jan Dubois wrote: > >Sorry, no time to test right now, but I suspect something like this > >might work: > > > >my $folder = $namespace->Folders("Outlook Data F

RE: I have a secondary Inbox folder and trying to read the messages in the 2ndary inbox

2011-07-25 Thread Jan Dubois
On Mon, 25 Jul 2011, Wagner, David --- Sr Programmer Analyst --- CFS wrote: > > I got some code from a reply I found on Perl Monks and brought > over to my Desktop and ran the code. It does what I am after, BUT I do > not want the default inbox, but another inbox. > > The code for the

RE: ActiveState announces ActivePerl 5.14.1 and 5.12.4

2011-07-18 Thread Jan Dubois
On Mon, 18 Jul 2011, Brzezinski, Paul J wrote: > Any updates on when the next release of the PDK will be released? I > thought I recall something about an updated release of PDK is required > to support Perl 5.14. Yes, you need PDK 9.1 for Perl 5.14 support in PerlApp etc. It is currently in QA a

RE: Help with file redirect

2011-07-05 Thread Jan Dubois
On Tue, 05 Jul 2011, Barry Brevik wrote: > > I am writing an app that has a lot of screen output which it writes to > STDERR. > > The screen output is copious, but I need it right now for debugging; I > can get rid of it later. > > My question is if it is possible to write to STDERR and a named

ActiveState announces ActivePerl 5.14.1 and 5.12.4

2011-06-22 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.14.1 build 1401 and ActivePerl 5.12.4.1205, complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. F

RE: help with PPM activestate repository install (email-sender)

2011-05-20 Thread Jan Dubois
I have no idea what the package Net-SMTP-Server is supposed to contain; it is not on CPAN. I notice that the SMTP-Server package contains Net::SMTP::Server, so maybe both packages are the same, with just a different name, and you don’t need to install both? For OS X the canonical Perl user m

ActiveState announces ActivePerl 5.14.0

2011-05-16 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.14.0 build 1400, a complete, ready-to-install binary distribution of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed information or

RE: [OLE] Controlling AutoCAD >= 2010 fails with Win32::OLE. Error 0x8001010a.

2011-03-07 Thread Jan Dubois
On Thu, 03 Mar 2011, Manuel Reimer wrote: Hi Manuel, [...] > by-autocad-from-an-external-net-application.html> > > This C# and so I tried to port this over to C++ to be able to add this > to

RE: spurious deaths in script execution due to read-only Config?

2011-02-24 Thread Jan Dubois
On Wed, 23 Feb 2011, Brian Raven wrote: > On Wed, 23 Feb 2011, Christian Walde wrote: > > Solution: Make sure $_ isn't pointing at %Config when Exporter.pm > > happens. This can be done as simple as this: > > > > map { require ActiveState::Path } 1; > > > > (Though i'm sure more elegant solut

RE: perl won't alarm?

2011-02-23 Thread Jan Dubois
On Wed, 23 Feb 2011, Robert W Weaver wrote: > Is there a way I can protect my routine from hanging system calls? alarm() will not interrupt a blocking system call on Windows. If you want to timeout on subprocesses, then you may want to look at Win32::Job. Cheers, -Jan ___

RE: NTFS hard file links

2011-02-22 Thread Jan Dubois
On Tue, 22 Feb 2011, Brian H. Oak wrote: > > Your builtin link() is a godsend! If only I'd known years ago I > could have saved a lot of heartache trying to kludge > Win32::API::Prototype into working in my programs. Looks like I added support for it in 1999: http://perl5.git.perl.org/

RE: Pulling PERL Exectuable x86 vs x64

2011-02-22 Thread Jan Dubois
Load Config.pm and look at $Config{ptrsize}. It is either 4 or 8, telling you that you are running 32-bit or 64-bit Perl. Cheers, -Jan From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Michael Cohen Sent: Tues

RE: NTFS hard file links

2011-02-17 Thread Jan Dubois
On Thu, 17 Feb 2011, Brian H. Oak wrote: > For years now I've been using Win32::API::Prototype to access > kernel32.dll and set up CreateHardLink() for use in a program. But > something in the upgrade from 32-bit 5.10 to 64-bit 5.12 is > incompatible with Win32::API::Prototype. Now I'm looking fo

ActiveState announces new ActivePerl builds of 5.12.3 (and 5.8.9)

2011-02-14 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.8.9 build 829, and ActivePerl 5.12.3 build 1204, complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Editi

RE: "Community User"

2011-02-04 Thread Jan Dubois
On Fri, 04 Feb 2011, Phillip Richcreek wrote: > I probably missed an announcement! The ASPN site lists a category > they're calling "Community", which is the only one that even comes > close to describing my situation. > > Is it the case that the perl documentation is no longer available to > commu

RE: Komodo in Win XP mode

2011-02-04 Thread Jan Dubois
On Fri, 04 Feb 2011, Spencer Chase wrote: [It would be best if you could post PDK related problems to the PDK mailing list and not to the general perl-win32-users; please remove perl-win32-user from follow-up posts.] > I can not get many things to work in Windows 7 64 bit when using PDK > and

RE: perlapp on win 7 64 bit?

2011-02-04 Thread Jan Dubois
On Wed, 22 Dec 2010, Spencer Chase wrote: [It would be best if you could post PDK related problems to the PDK mailing list and not to the general perl-win32-users; please remove perl-win32-user from follow-up posts.] > I am trying to make exe files for win32 systems on my 64 bit > installation.

RE: PDK exe fails to run due to Data:Manip errors

2011-01-21 Thread Jan Dubois
On Fri, 21 Jan 2011, Jason Lowder wrote: > > I have an application that makes use of the Data:Manip module. It runs > fine and compiles fine, but when running the exe I get: > > Name "Date::Manip::Lang::english::Language" used only once: possible > typo at > /Date/Manip/Base.pm > line 1844. > U

RE: [Trivial Pursuit] Which Win32 perl was the first to be built with -Dusethreads ?

2011-01-04 Thread Jan Dubois
On Thu, 23 Dec 2010, Sisyphus wrote: > > Earliest perl that I have that was built with -Dusethreads was a perl-5.8.8 > that I built myself using MinGW ... but I don't have any perls between 5.8.0 > (which was *not* built with -Dusethreads) and 5.8.8. $Config{usethreads} wasn't set correctly on Wi

ActiveState announces new ActivePerl builds of 5.8.9, 5.10.1, and 5.12.2

2010-12-15 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.8.9 build 828, ActivePerl 5.10.1 build 1008, and ActivePerl 5.12.2 build 1203, complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available

RE: does anyone know how to get a TRUE ntfs directory listing? using Perl, or otherwise

2010-12-09 Thread Jan Dubois
You can run `dir /a` to see files with the “system” and “hidden” attributes, but you will still not see the NTFS metadata entries. They cannot be manipulated at the file system level and are rather pointless to copy as some of their content depends on the disk geometry (think “file allocation tab

RE: Module instalaltion error (nmake)

2010-11-23 Thread Jan Dubois
On Tue, 23 Nov 2010, Sisyphus wrote: > > 'cl' is the compiler that comes with MS compilers such as Visual Studio. > Alternatively you could use MinGW's gcc compiler - though to effect that in > something as old as ActivePerl 5.8.4 you might also have to install > ExtUtils::FakeConfig. > > Is ther

RE: Win32::Pipe::CallNamedPipe does this function normally work?

2010-10-20 Thread Jan Dubois
The version of Win32::Pipe on CPAN (and in ActivePerl) may be a different version than the one mentioned on Dave’s website. You should check out the sample program included in Win32-Pipe to see how it works: http://cpansearch.perl.org/src/JDB/Win32-Pipe-0.024/eg/ Cheers, -Jan From

RE: lame question "\\\\.\\pipe\\pipename" vs '\\.\pipe\pipename'

2010-10-20 Thread Jan Dubois
>From `perldoc perldata`: String literals are usually delimited by either single or double quotes. They work much like quotes in the standard Unix shells: double-quoted string literals are subject to backslash and variable substitution; single-quoted strings are not (e

RE: looking for amine's 'MemMap' module for Win32 x86 Perl version 5.8

2010-10-18 Thread Jan Dubois
her win32 process) shared memory map. any suggestions? _ From: Jan Dubois [mailto:j...@activestate.com] Sent: Monday, October 18, 2010 4:03 PM To: gai...@visioninfosoft.com; david.wag...@fedex.com; perl-win32-users@listserv.activestate.com Subject: RE: looking for amine's 'MemMap&#x

RE: looking for amine's 'MemMap' module for Win32 x86 Perl version 5.8

2010-10-18 Thread Jan Dubois
If you follow that line of reasoning, then you have to realize that Perl 5.8 wasn’t out in 2001 either, so the binary really would be for 5.005 or 5.6. The ppd file and tarball don’t seem to match up. Cheers, -Jan From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win3

RE: looking for amine's 'MemMap' module for Win32 x86 Perl version 5.8

2010-10-18 Thread Jan Dubois
The problem with Win32::MemMap is that it was never released as source code AFAICT, so nobody but Amine will be able to compile it for a different platform (its internals are also implemented in Delphi, not standard C code, making things even more interesting…). But he still seems to hang aro

RE: supporting old perls

2010-10-07 Thread Jan Dubois
On Thu, 07 Oct 2010, Spencer Chase wrote: > I have a number of old scripts that I occasionally need to maintain. > I am using Komodo IDE and a recent version of Perl. These old > scripts us TK, but TK has been eliminated in the newer versions of > Perl. Other than keeping a separate compute

RE: Win32::OLE on MS Word using Selection.Find.Execute

2010-09-13 Thread Jan Dubois
On Sun, 12 Sep 2010, Peter Buck wrote: > > Does anyone have an example of a perl script acting on MS Word > documents using Win32::OLE and Selection.Find.Execute? Actually, I do, and it is even part of the Win32::OLE module distribution on CPAN. But since it is not being installed with the actua

ActiveState announces ActivePerl 5.12.2 build 1202

2010-09-09 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.12.2 build 1202, a complete, ready-to-install binary distribution of Perl 5.12.2. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed informa

RE: Tkx vs. Tcl Dev Kit

2010-05-31 Thread Jan Dubois
Kanhaiya wrote: > Whic one is better for GUI based perl application? >  > Perl Tkx > OR > ActiveTcl with Tcl Dev Kit >  > I'm confused and not finding any solution. I think you are confused about how Tkx actually works: Tkx is a Perl interface to Tcl/Tk using the Tcl.pm module to access a Tcl in

ActiveState announces ActivePerl 5.12.1 build 1201

2010-05-17 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.12.1 build 1201, a complete, ready-to-install binary distribution of Perl 5.12.1. Builds for Windows, Mac OS X, Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed informatio

RE: Using mingw64 with x64 ActiveState builds.

2010-04-18 Thread Jan Dubois
On Sun, 18 Apr 2010, Sisyphus wrote: [...] > And there's no such problem with these mingw64 compilers if they're the > compiler that actually built perl. It's just when I try to use these > compilers with x64 builds of ActivePerl that the strange DynaLoader errors > can eventuate. I'll eventual

RE: ActiveState announces ActivePerl 5.12.0 build 1200

2010-04-14 Thread Jan Dubois
On Wed, 14 Apr 2010, Jan Dubois wrote: > > ActiveState is pleased to announce ActivePerl 5.12.0 build 1200, > a complete, ready-to-install binary distribution of Perl 5.12. Oops, forgot to mention 2 things: * The PPM repositories for ActivePerl 5.12 are currently being built. Some mo

ActiveState announces ActivePerl 5.12.0 build 1200

2010-04-14 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.12.0 build 1200, a complete, ready-to-install binary distribution of Perl 5.12. Builds for Windows, Mac OS X, Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed information

RE: .pl to DLL creation

2010-03-24 Thread Jan Dubois
Kprasad wrote: > Could anyone tell me that what is process to create DLL > file from perl script (.pl) file? Depends on what you want to do with that DLL file. The ActiveState Perl Dev Kit has tools to create either a COM control (PerlCtrl) or a .NET assembly (PerlNET) from code written in Perl.

RE: Determining if a file is open

2010-02-18 Thread Jan Dubois
On Thu, 18 Feb 2010, Greg Aiken wrote: > > other things to experiment with; > > a. if the file may be successfully renamed, this implies its not being held > open (clunky solution, as would require you to rename once, then again to > bring it back to its original filename - but low tech), or Thi

ActiveState announces ActivePerl 5.10.1 build 1007 and ActivePerl 5.8.9 build 827

2010-02-08 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.10.1 build 1007 and ActivePerl 5.8.9 build 827, complete, ready-to-install Perl distributions for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX. For detailed information or to download these releases, see: http://www.activestate.com/a

RE: Help with slow startup

2010-01-19 Thread Jan Dubois
On Tue, 19 Jan 2010, Michael Ellery wrote: > Can you shed a little light on what this WIN32_SLOPPY_STAT does - I'm > guessing it uses a faster set of APIs for gathering file stat info - > perhaps at the cost of accuracy? The normal Perl implementation of stat() on Windows actually opens the file.

RE: Help with slow startup

2010-01-19 Thread Jan Dubois
On Mon, 18 Jan 2010, Michael Ellery wrote: > > Thanks for that patch. I've patched the file on my system and rebooted - > now I see times shown below. Now my first startup time is only double my > "steady state" time, which seems to be an improvement (previous run was > more than 3 times the subse

RE: Help with slow startup

2010-01-18 Thread Jan Dubois
On Mon, 18 Jan 2010, Michael Ellery wrote: > > I have a slow startup problem with a library I have written. The > observed behavior is that perl scripts that use my library > *intermittently* take 30 seconds to startup. If I run them again > immediately thereafter, they drop back down to about 10

RE: PerlScript OLE browser [was How to simulate VB "Casting" for $perl_objects via Win32::OLE?]

2009-12-16 Thread Jan Dubois
From: trill...@gmail.com [mailto:trill...@gmail.com] On Behalf Of w...@serensoft.com Sent: Wednesday, December 16, 2009 3:11 PM To: Jan Dubois Cc: perl-win32-users@listserv.activestate.com Subject: PerlScript OLE browser [was How to simulate VB "Casting" for $perl_objects via Win32::OL

RE: How to simulate VB "Casting" for $perl_objects via Win32::OLE?

2009-12-16 Thread Jan Dubois
Win32::OLE uses late binding (the IDispatch interface, aka OLE Automation); there is no such thing as casting to different "objects" as there is only a single IDispatch interface per object. This is the same as using Jscript or VBScript, but not VB or C++ which normally use early binding. It

RE: Using Win32::API to call C# methods?

2009-11-09 Thread Jan Dubois
On Mon, 09 Nov 2009, Jason Lowder wrote: > > I'm attempting to use a C# method from my Perl script but am receiving > a return code of 127 and "unknown error" for $!. You cannot call .NET code using Win32::API. It is not native x86 code, but code for a virtual machine that must be executed by the

RE: POE in PPM4 repository for Perl 5.10

2009-10-27 Thread Jan Dubois
Every new version uploaded to CPAN will automatically be compiled and tested by the PPM build machines. You can see that the latest versions of POE all fail to run their tests on Windows without errors: http://ppm4.activestate.com/idx/PO.html There is a single test failure: # Failed

RE: where is Win32-DDE

2009-10-09 Thread Jan Dubois
You can find the old sources here: http://mirrors.develooper.com/perl/backpan/authors/id/D/DE/DEWEG/Win32-DDE-0.02.zip You should be able to install it from the bribes repository with PPM if you want to: ppm repo add bribes ppm install Win32-DDE Note that the module only supports

RE: Build 1006 has some unexpected Config values

2009-09-03 Thread Jan Dubois
On Thu, 03 Sep 2009, Sisyphus wrote: > From: "Jan Dubois" > >>> Is it acceptable to have those Config values specify the full path >>> and extension ? >> >> Acceptable by whom? :) The documentation doesn't really say one way >> or the other

RE: Build 1006 has some unexpected Config values

2009-09-03 Thread Jan Dubois
On Thu, 03 Sep 2009, Sisyphus wrote: > With build 1006, I'm getting the following: > > # > C:\_32>perl -V:cc > Set up gcc environment - 3.4.5 (mingw-vista special r3) > cc='C:/_32/ap1005/site/bin/gcc.exe'; > > C:\_32>perl -V:ld > Set up gcc environment - 3.4.5 (min

RE: ActiveState announces ActivePerl 5.10.1 build 1006

2009-08-28 Thread Jan Dubois
On Fri, 28 Aug 2009, Sisyphus wrote: On Fri, 28 Aug 2009, "Jan Dubois" wrote: > > ActiveState is pleased to announce ActivePerl 5.10.1 build 1006, a > > complete, ready-to-install Perl distribution for Windows, Mac OS X, > > Linux, Solaris, and AIX. > > There

ActiveState announces ActivePerl 5.10.1 build 1006

2009-08-27 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.10.1 build 1006, a complete, ready-to-install Perl distribution for Windows, Mac OS X, Linux, Solaris, and AIX. For detailed information or to download these releases, see: http://www.activestate.com/Products/activeperl New in ActivePerl 5.10.1 B

RE: GUI based perl

2009-07-30 Thread Jan Dubois
On Thu, 30 Jul 2009, Serguei Trouchelle wrote: > I'd say Tkx because Tk is no longer developed. In case you haven't seen it, the TkDocs site has a tutorial that shows how to use the latest Tk bindings from Tcl, Ruby, Python and Perl, using the Tkx interface for the Perl code: http://www.tkdoc

RE: Perl and memory...

2009-07-28 Thread Jan Dubois
On Tue, 28 Jul 2009, Chris Wagner wrote: > At 06:48 PM 7/28/2009 +0300, Serguei Trouchelle wrote: > > I'm not sure. Ending thread on Windows deallocates memory as it said > > in MSDN, but I'm not exactly sure how Perl handles all this stuff. > > So that could be Windows specific? The application I

RE: 2 MinGW-related feature requests.

2009-07-14 Thread Jan Dubois
On Mon, 13 Jul 2009, Sisyphus wrote: > From: "Jan Dubois" > > I've added that code, and also tried to use it for the > > ActivePerl::Config hack that tells ExtUtils::Liblist::Kids about the > > MinGW library location: > > Again, I've struck no need t

RE: MinGW - additional question from relative newbie

2009-07-13 Thread Jan Dubois
On Mon, 13 Jul 2009, Greg Aiken wrote: > > The problem is that my main computer is not direct connected to the > internet, so I cant issue a 'ppm install MinGW' command. > > Does anyone know of a step by step manual installation/configuration > sequence that one may follow to manually install Min

RE: 2 MinGW-related feature requests.

2009-07-13 Thread Jan Dubois
On Sun, 12 Jul 2009, Sisyphus wrote: > > 1) I've found that we can't actually build perl using the MinGW that >gets installed using ppm. This happens because windres.exe cannot >be found. Adding the perl/site/lib/auto/MinGW folder fixes the >problem, but perhaps it would be better to p

RE: 2 MinGW-related feature requests.

2009-07-12 Thread Jan Dubois
On Sun, 12 Jul 2009, Sisyphus wrote: > > Should I submit the 2 proposals below to bugzilla ? Yes, please! > 1) I've found that we can't actually build perl using the MinGW that >gets installed using ppm. This happens because windres.exe cannot >be found. Adding the perl/site/lib/auto/Mi

RE: MSDOS Path

2009-06-18 Thread Jan Dubois
On Thu, 18 Jun 2009, Phillip Richcreek wrote: > > I'm troubleshooting a problem with CAM:PDF that has appeared after I > installed 5.10 along with a more recent version of CAM::PDF than I was > running with 5.8. During my troubleshooting, I've modified the MSDOS > Path value and now, before procee

RE: Automate an ActiveX Process

2009-06-15 Thread Jan Dubois
On Mon, 15 Jun 2009, Phillip Richcreek wrote: > > I want to automate -- eliminate user interaction -- a process that > states in its doc... > > "Miraplacid Text Driver registers itself as an ActiveX object and > could be used from any scripting and OLE-compliant software. > Using this ability, yo

RE: Math-Currency install...where is it?

2009-06-11 Thread Jan Dubois
On Thu, 11 Jun 2009, Phillip Richcreek wrote: > > I installed a package called Math-Currency under 5.8 some time ago. > More recently I installed perl 5.10 and now am unable to find a > repository where Math-Currency resides. The ppmprofile entry from 5.8 > looks like this: > > > Math-Currency

RE: LWP::UserAgent 'Ordinal not Found'

2009-06-10 Thread Jan Dubois
On Wed, 10 Jun 2009, Serguei Trouchelle wrote: > Also, try to copy libeay32.dll from perl/bin to > /perl/site/lib/auto/Crypt/SSLeay That is a good suggestion. I don't remember off-hand if Crypt::SSLeay also needs ssleay32.dll, but generally it is a good idea to copy both DLLs as they are a match

RE: :UserAgent 'Ordinal not Found'

2009-06-10 Thread Jan Dubois
On Wed, 10 Jun 2009, Phillip Richcreek wrote: > I'm getting the following error(s) using LWP::UserAgent... > > (POP-UP) Perl.exe - Ordinal not found The ordinal 3212 could not be > located in the dynamic link library LIBEAY32.dll > > (from perl script) 501 Protocol scheme 'https' is not supported >

ActiveState announces ActivePerl 5.8.9.826 and 5.10.0.1005

2009-06-01 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.8.9 build 826 and ActivePerl 5.10.0 build 1005, complete, ready-to-install Perl distributions for Windows, Mac OS X, Linux, Solaris, and AIX. For detailed information or to download these releases, see: http://www.activestate.com/Products/activepe

RE: [OT] Having multiple x64 compilers on Windows Vista 64

2009-05-28 Thread Jan Dubois
On Thu, 28 May 2009, Sisyphus wrote: "Jan Dubois" wrote: >>> Or ... have I misinterpreted what I'm seeing there ? (Perhaps the >>> "continue" link still leads to the installation of the SDK 2003 ?) >> >> Indeed, the "Continue" butto

RE: [OT] Having multiple x64 compilers on Windows Vista 64

2009-05-28 Thread Jan Dubois
On Thu, 28 May 2009, Sisyphus wrote: > - Original Message - > From: "Jan Dubois" > >>> It's important that I don't lose the 2003 version, as it seems to be >>> no longer readily available from MS. (All links to it quickly turn >>>

RE: [OT] Having multiple x64 compilers on Windows Vista 64

2009-05-28 Thread Jan Dubois
On Wed, 27 May 2009, Sisyphus wrote: > > I currently have the "Microsoft Platform SDK for Windows Server 2003 > R2" compiler. I would like to also install "Windows SDK for Windows > Server 2008 and .NET Framework 3.5" from > http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-42

RE: ActivePerl -x64, and another problem with mixing compilers.

2009-05-26 Thread Jan Dubois
On Tue, 26 May 2009, Sisyphus wrote: "Jan Dubois" wrote: > > You can actually install different versions of MSVCR80.dll on the > > same machine; they go into different directories under > > C:\Windows\WinSxS (the side-by-side installation directory). > > That

RE: ActivePerl -x64, and another problem with mixing compilers.

2009-05-26 Thread Jan Dubois
On Tue, 26 May 2009, Foo JH wrote: > > Running the *appropriate* vcredist_x64.exe fixes the problem. (The > > appropriate one being the one for VC++ 2008, not the one for VC++ > > 2005.) > Does this mean that if there is an existing app which ref the VC2005 > dll, there will be a collision problem?

New DBD-mysql 4.011 PPM packages for Windows

2009-05-26 Thread Jan Dubois
I spent some time yesterday to teach the Windows PPM build machines how to automatically build DBD-mysql, and as a result we now have the latest version for 5.8, 5.10 and 5.10 64-bit on the ActiveState PPM repositories. I would appreciate if someone could give them a spin to confirm they all work

RE: Install a Package from Local Directory

2009-05-19 Thread Jan Dubois
On Tue, 19 May 2009, Phillip Richcreek wrote: > My experience installing perl extensions is limited to packages > obtained from repositories. I want to install a package called 'email > spider', or 'spiderawy', which I downloaded from www.mewsoft.com, not > from an official repository. Can I use pp

RE: Net::SSLeay on Windows X64

2009-05-08 Thread Jan Dubois
On Fri, 08 May 2009, Sisyphus wrote: > From: "Sisyphus" > > > One test failed (t/local/00_ptr_cast.t), but it fails only because it > > fails > > to compile a test program: > > It's a bug in the test script. With some help from > http://www.perlmonks.org/index.pl?node_id=762762 , I finally found

RE: Excel problem

2009-05-08 Thread Jan Dubois
On Fri, 08 May 2009, Glenn Linderman wrote: > On approximately 5/8/2009 12:54 PM, came the following characters from > the keyboard of Jan Dubois: > > > > Well, you didn't provide the mapping from line 3352 to $Excel->Close(). > > It sure looks like I said I ge

RE: Excel problem

2009-05-08 Thread Jan Dubois
On Fri, 08 May 2009, Glenn Linderman wrote: > On approximately 5/8/2009 12:07 PM, came the following characters from > the keyboard of Jan Dubois: > > On Fri, 08 May 2009, Glenn Linderman wrote: > >> So I open a workbook with macros, and then another workbook with data, >

RE: Excel problem

2009-05-08 Thread Jan Dubois
On Fri, 08 May 2009, Glenn Linderman wrote: > So I open a workbook with macros, and then another workbook with data, > and run A_macro... as follows... > > >require Win32::OLE; >require Win32::OLE::Const; >Win32::OLE::Const->Load('Microsoft Excel'); >$Win32::OLE::W

RE: :SSLeay on Windows X64

2009-05-07 Thread Jan Dubois
I have it on my TODO list to improve the PPM build system to successfully build some of the more important modules automatically, but it may take a couple of weeks before I find time to do this. Net::SSLeay is at least on the candidate list for this project, but it will depend on any difficulties

RE: VC 8 and 64-bit ActivePerl

2009-05-07 Thread Jan Dubois
On Thu, 07 May 2009, Sisyphus wrote: > From: "Jan Dubois" > > Note that I'm not actually building XML-LibXML-Common with VC 8. I'm using > the Platform SDK, Windows Server 2003 R2 compiler. It's just that I'm > linking against dynamic xml2 and iconv

RE: VC 8 and 64-bit ActivePerl

2009-05-07 Thread Jan Dubois
On Wed, 06 May 2009, Sisyphus wrote: "Jan Dubois" wrote: > > > > Either that, or you could embed the manifest manually into your > > Common.dll using the mt.exe tool. > > > > Thanks Jan. > I've taken a look at 'mt /?' and can't see an

  1   2   3   4   5   >