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: 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: 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: 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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
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: 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: 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: 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

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: Is there a problem with the list?

2001-03-12 Thread Jan Dubois
On Mon, 5 Jun 2000 21:25:45 -0400, "Greg Wojan" <[EMAIL PROTECTED]> wrote: >I haven't received any postings to this list for almost a week. Is there a >problem? Yes, there was a serious problem with Lyris which was continuously bringing down the whole ActiveState web site. It looks like the da

Re: Mailman SUCKS !!!!!

2001-03-14 Thread Jan Dubois
On Mon, 12 Mar 2001 15:29:00 -0500, "Smith, Eric - WPAFB/YSXOI" <[EMAIL PROTECTED]> wrote: >This mailman listserve really sucks. I tend to agree, but in this case MailMan is innocent. >Please go back to good old reliable majordomo or even lyris. At their >worst, they were better than mailman.

Re: [OLE] Printing from IE

2001-04-18 Thread Jan Dubois
On Tue, 17 Apr 2001 18:42:06 -0500, [EMAIL PROTECTED] wrote: >I'm working on an IE OLE app that navigates to multiple web pages and prints >them. I've come up with the code below. The code works great on NT, but >when I run it on 98, an extra (blank) page gets printed along with each >content p

Re: how do you get threads to work in activeperl 5.6?

2001-04-18 Thread Jan Dubois
On Tue, 17 Apr 2001 18:12:41 -0700, Jeremy Aiyadurai <[EMAIL PROTECTED]> wrote: >I'd like to try working with threads, but whenever i try a script, it says >"no threads in this perl". I have activeperl 5.6. >which supports threads. How do i get threads working? ActivePerl 5.6 supports the Perl

Re: open file

2001-04-18 Thread Jan Dubois
On Tue, 17 Apr 2001 23:48:48 -0700, "eo_pereira" <[EMAIL PROTECTED]> wrote: >Can someone send me a working cgi code using windows 2000 IIS 5.0 and the >lastest activeperl that will save some type of data to a file for some >reason i am having problems saving simple data to a file. >I am not sure

Re: perlscript calling vbscript in asp

2001-04-18 Thread Jan Dubois
On Wed, 18 Apr 2001 09:17:58 +1000, Toby Stuart <[EMAIL PROTECTED]> wrote: ><%@ LANGUAGE="PerlScript" %> ><% > $a_val_from_vb = $ScriptingNamespace->a_vb_sub(); I think this would be $ScriptHost instead of $ScriptingNamespace, but maybe they work both. In later versions of ActivePerl (I t

Re: [OLE] Finding valid App. name/GUID

2001-04-18 Thread Jan Dubois
On Sun, 15 Apr 2001 23:53:13 +1000, "Sisyphus" <[EMAIL PROTECTED]> wrote: >Received: from [203.57.31.82] (helo=pentium3450) > by rambo.origin.net.au with smtp (Exim 3.16 #1) > id 14psJC-0006pA-00 > for [EMAIL PROTECTED]; Wed, 18 Apr 2001 23:47:51 +1000 [...] >Date: Sun, 15 Apr 2

Re: [ole]Changing Print Quality on Excel

2001-05-09 Thread Jan Dubois
On Wed, 9 May 2001 09:54:06 -0700, Wagner-David <[EMAIL PROTECTED]> wrote: > I am processing several thousand Excel files and converting to PDF. >One of my existing problems is that they have different Print Quality and I >need to set to 400 dpi. Here is a portion of the code: > > $s

Re: OLE and Crystal Reports

2001-05-09 Thread Jan Dubois
On Wed, 9 May 2001 13:30:02 -0500, "Adam Frielink" <[EMAIL PROTECTED]> wrote: >Issues: I can access the Application Object and the Report Object >underneath it. The OpenReport method executes properly (I am assuming) but >returns the 'Retrying default method a C:\per\site\lib\Win32\OLE\Lite.pm

Re: [OLE] Crystal Reports Fixed, but another question

2001-05-15 Thread Jan Dubois
On Tue, 15 May 2001 17:55:53 -0500, "Adam Frielink" <[EMAIL PROTECTED]> wrote: >application. I have a few questions about this. Why is it necessary for >this in Microsoft Office apps to call the Quit method instead of simply >undef'ing the object? Also, am I still consuming memory after the Cr

Re: Q* - Extending Perl - making C function calls to C lib from a Perl script

2001-05-15 Thread Jan Dubois
On Tue, 15 May 2001 17:06:11 -0500, <[EMAIL PROTECTED]> wrote: >We have a binary C lib (which we purchaced from a vendor). I would like to >call C functions from Perl to functions contained in this lib. We do not >have the actual C header files, but we do have what they're supposed to >look like

Re: Modifying @INC systemwide

2001-05-17 Thread Jan Dubois
On Thu, 17 May 2001 09:54:36 -0700, Christopher Hahn <[EMAIL PROTECTED]> wrote: >I have modified @INC in scripts, on the command line, >and on the #! line... > >...but which system file holds the default settings? > >I want to add/modify the default settings? You can add (but not modify) by sett

Re: Access to a global declared hash in a loaded package

2001-05-17 Thread Jan Dubois
On Thu, 17 May 2001 15:09:06 +0200, "Schmidt,Thomas" <[EMAIL PROTECTED]> wrote: >i have declared the hash: > > # this hash will contain the settings > # from the config-file > %config_values = undef; > >in

Re: Make ing on Windows

2001-06-23 Thread Jan Dubois
On Fri, 22 Jun 2001 20:56:40 +0100, "Lee Goddard" <[EMAIL PROTECTED]> wrote: >Makefile.PL generated by h2xs on the latest build of perl 626 (AS source) generates a >makefile which seems a bit weird. > >E:\Src\Pl\Acme\PM\London\Maps\Earth>nmake ci > >Microsoft (R) Program Maintenance Utility Ve

Re: ppm3

2001-11-29 Thread Jan Dubois
On Thu, 29 Nov 2001 10:41:05 +, Simon Oliver <[EMAIL PROTECTED]> wrote: >I would 'cc' this directly to ActiveState but can't find a developer >contact in the docs. >From the PPM page on ASPN: http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ | For support please email ActiveSt

Re: Phantom process?

2002-02-08 Thread Jan Dubois
On Fri, 08 Feb 2002 08:47:57 -0500, "Moulder, Glen" <[EMAIL PROTECTED]> wrote: > >Hi Steve, > >I hadn't tried these, but when I did > >> $obj = Win32::OLE->new('Access.Application',{$_[0]->Quit();}) > >I got syntax errors, like this: > >syntax error at somescript.pl line nnn, near ";}" That is d

Re: PPM repository status

2002-02-08 Thread Jan Dubois
On Fri, 8 Feb 2002 20:50:30 -0500, "Jeff Urlwin" <[EMAIL PROTECTED]> wrote: Hi Jeff, >Is this for all modules or just Tk? DBD::ODBC is a month out of date. It should be all the modules. I checked the build logs, and it looks like the system run out of disk space a couple of times during the b

Re: Baffling error, or maybe I'm just blind

2002-03-08 Thread Jan Dubois
On Fri, 08 Mar 2002 21:37:46 -0600, Cameron Dorey <[EMAIL PROTECTED]> wrote: >John Draper wrote: >> >> Cameron, >> >> I'm not sure if this is the problem, but, shouldn't the: >> $id[q] >> of this line: if ($id[$q_index] == $id[q]) { >> read: >> $id[$q] instead? >> >> John > > >Uh, yes it s

Re: PPM path problem. it works right after fresh install then dies.

2002-05-23 Thread Jan Dubois
On Tue, 21 May 2002 12:57:34 -0400 (EDT), Keith Beckwith <[EMAIL PROTECTED]> wrote: >Windows DOES however recognize the .pl file extension as something that it >should be able to do something with though and goes in search of something >to 'open this file with and make it do something'. It's at t

Re: Win32::OLE import into Excel

2002-05-29 Thread Jan Dubois
On Wed, 29 May 2002 10:32:34 -0400, "Mark D. Veerman" <[EMAIL PROTECTED]> wrote: >My code is below. I've been able to successfully test for an empty fields >with the $ttl field - however, I'm concerned that adding that logic to every >field will slow things down. Since I'm new to programming -

Re: "my" variable initiation

2002-06-14 Thread Jan Dubois
On Fri, 14 Jun 2002 08:04:47 +0100, "Michael D. Smith" <[EMAIL PROTECTED]> wrote: >Basically, I want a first time switch. > >I can do that with a gobal variable like this: > >$first_time = 0; > >sub howto { > if ($first_time == 0 ) { # do the stuff that's done only the first >time then add

Re: Sharing new Perl Modules

2002-06-14 Thread Jan Dubois
On Thu, 13 Jun 2002 13:24:25 -0600, "Joe Schell" <[EMAIL PROTECTED]> wrote: >> -Original Message- >> Behalf Of Morgan, Steve H. >> >> Does anyone know what the process is to submit new perl modules to Active >> State? > >Just as a guess, with the exception of the modules specifically main

Re: Passing a GUID to Win32::OLE

2002-07-15 Thread Jan Dubois
On Sun, 14 Jul 2002 15:56:07 +0100, [EMAIL PROTECTED] wrote: > >Anybody know a way to call a method which takes a REFCLSID, like this: > >HRESULT foo( REFCLSID bar ); > >The OLE browser shows this as > >Sub foo( bar as GUID ) >method foo; > >Unfortunately, Win32::GuidGen seems to return a GUI

Re: ActiveState's Archive-Zip.zip doesn't (?!) support Windows

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 11:46:51 -0400, "Thomas R Wyant_III" <[EMAIL PROTECTED]> wrote: >I believe from previous traffic on this list that ActiveState's PPM archive >is built "automagically" from CPAN. So who do I see to get this one module, >last built in 2000, corrected? I've told Neil about this

Re: (was Re: win32 and win32::Lanman conflicting?)

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 13:21:48 +0100, "Michael D. Smith" <[EMAIL PROTECTED]> wrote: > >This brings up something I've been wondering about, but it worked so not to >much:) > >When you code, "use Win32::whatever;" does "use Win32;" become available also? No, it doesn't! Please read `perldoc Win32`

Re: (was Re: win32 and win32::Lanman conflicting?)

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 22:22:42 GMT, "Jason Hemak" <[EMAIL PROTECTED]> wrote: Hi Jason, >Well now i'm more confused about my original problem. > >If you need to use Win32 to use all of that functionality, how do you use >both Win32 and other packages like Win32::Lanman without getting all those >er

Re: PerlSVC

2002-09-06 Thread Jan Dubois
On Fri, 6 Sep 2002 16:51:10 -0400, "Ricci, Mark" <[EMAIL PROTECTED]> wrote: >Hello All, > > I'm having some trouble getting this script to run as a service, any >and all help is appreciated: There seems to be a syntax error here: > >#!c:\perl\bin >use Win32::Process; >use Win32; > >package

Re: [OLE] Win32::OLE source

2002-09-12 Thread Jan Dubois
On Thu, 12 Sep 2002 13:53:54 -0400, "Tom Allebrandi" <[EMAIL PROTECTED]> wrote: >Is the source for the XS part of Win32::OLE available anywhere? I'm working >on a COM/OLE project and I'd like to study the XS side of Win32::OLE to see >how some things are supposed to be done. Yes, the latest vers

Re: Upgrading ActiveState versions - was: ppm3 search *all* repositories ???

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 07:28:24 -0500, "Cutts III, James H." <[EMAIL PROTECTED]> wrote: Hi james, >I have had problems with "upgrading" versions of ActivePerl, in the past. The last >"upgrade" ended up with me completely and extensively uninstalling ActivePerl and >then starting with a fresh ins

Re: Error with $Response->Flush()

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 15:20:40 +0800, "Allegakoen, Justin Devanandan" <[EMAIL PROTECTED]> wrote: >And as you mentioned the 256 bytes most definetely need to be sent before >anything will flush. It is actually Internet Explorer that needs to receive 256 bytes before displaying anything. If you tes

Re: ppm3 disabling ppm?

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 15:08:04 +0200 (MEST), Reiner Buehl <[EMAIL PROTECTED]> wrote: >Since I tried out ppm3 on my Active Perl 5.6.1 Build 633, I am not able to >use ppm anymore. Everytime I start ppm I get a few dozend of this message: > >Element 'IMPLEMENTATION' must contain a 'CODEBASE' element.

Re: Error with $Response->Flush()

2002-09-26 Thread Jan Dubois
On Thu, 26 Sep 2002 16:13:50 -0400, Ron Grabowski <[EMAIL PROTECTED]> wrote: >> >And as you mentioned the 256 bytes most definetely need to be sent before >> >anything will flush. >> >> It is actually Internet Explorer that needs to receive 256 bytes before >> displaying anything. If you test y

Re: Win32::OLE question and outlook

2002-10-08 Thread Jan Dubois
On Tue, 08 Oct 2002 20:21:57 -0700, "smackdab smackdab" <[EMAIL PROTECTED]> wrote: >I have gotten *somewhat* good at using this for outlook... >I can get many MailItem functions to work: reply, move, delete, etc. > >But Forward doesn't. This is the error I get: >"Usage: Win32::OLE::Forward(self,

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Mon, 11 Nov 2002 10:21:12 +, [EMAIL PROTECTED] wrote: >On 10/11/2002 04:54:57 Jan Dubois wrote: > >>Yes, the current repository is just the result of the first automated run >>for ActivePerl 8xx. We already noticed that even some of the modules that >>always used t

Re: Re[4]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Mon, 11 Nov 2002 14:13:34 +1100, "Sisyphus" <[EMAIL PROTECTED]> wrote: >> Yes, because gcc 2.95.2 is really a worse compiler compared to VC++ 6. It >> runs a lot slower, but more importantly, the code it generates is also >> about 20% slower than the code that VC++ generates. > >This is not wh

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Mon, 11 Nov 2002 13:13:30 -0700, "Jack" <[EMAIL PROTECTED]> wrote: >> No, it is not. Tk is already included in ActivePerl 802, so there is no >> need to install it from the repository. > >Before I download and install - can you tell me which version of Tk this is? > >I assume 800.024 - or hav

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Sat, 9 Nov 2002 22:31:53 -0600 (CST), Randy Kobes <[EMAIL PROTECTED]> wrote: >I was wondering about the 5.8 repository at >http://www.activestate.com/ppmpackages/5.8-windows/ - it doesn't >seem to include packages that need a C compiler, like DBI. Is it >just too early for these, or is there a

Re: Comparisons was [4]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jan Dubois
On Tue, 12 Nov 2002 17:41:47 +1100, "Sisyphus" <[EMAIL PROTECTED]> wrote: >In the end, I downloaded build 626 built by AS and compared its performance >to the 626 that I built, by running that script that I posted the other day. > >626 built by AS took 2.94 seconds. >626 built by me took 4.64 seco

Re: [Perl-Win32-Users]Subject Line

2002-11-22 Thread Jan Dubois
On Fri, 22 Nov 2002 13:29:26 -0700, "Jack" <[EMAIL PROTECTED]> wrote: >It seems that [Perl-Win32-Users] is now a standard string in the subject line. I >assume this was implemented because of the recent thread discussion? > >I like it - but there were others with very good points on why they don't

Re: thread limit in fork?

2002-11-25 Thread Jan Dubois
On Mon, 25 Nov 2002 15:09:26 -0800 (PST), prefab <[EMAIL PROTECTED]> wrote: >Does anyone know where this limit comes from and if it >is possible to configure a higher number of threads? Yes, there is a limit of 64 *concurrent* threads in Perl on Windows. The limit comes from using the WaitForMul

Re: OLE methods with output arguments

2002-11-26 Thread Jan Dubois
On Fri, 22 Nov 2002 10:37:52 -0500, "Jon Vinson" <[EMAIL PROTECTED]> wrote: >Figured it out. Answer: Variant(VT_VARIANT | VT_BYREF, Variant(VT_EMPTY)) > >(Good grief!) Yes. But then, passing arguments by reference is rarely done in OLE Automation. Anyways, I've added a "shortcut" (for some v

Re: "my" not okay for file handle strings?

2002-12-06 Thread Jan Dubois
On Fri, 6 Dec 2002 08:15:46 -0800 (PST), Terry Carroll <[EMAIL PROTECTED]> wrote: > $ARTICLE = "/usr/spool/news/comp/lang/perl/misc/38245"; > open ARTICLE or die "Can't find article $ARTICLE: $!\n"; > while () {... > >Again, the sample program using this form *does* indeed work -- but not if >t

Re: Speeding up start-up.

2003-01-14 Thread Jan Dubois
On Tue, 14 Jan 2003 17:17:49 -, Beckett Richard-qswi266 <[EMAIL PROTECTED]> wrote: >> You can also reduce startup time by using "require Module" at >> the time you >> actually need Module instead of adding a big list of "use" >> statements at >> the top. This doesn't work if you need to imp

Re: FW: PerlApp and Image::Magick

2003-01-24 Thread Jan Dubois
On Fri, 24 Jan 2003 15:28:11 -0500, "Joseph Youngquist" <[EMAIL PROTECTED]> wrote: >Posted this earlier, perhaps it was missed. Still awaiting a response. I guess just nobody replied yet. :) >seems www.imagemagick.org is not up and running past few days...did it move? No, it is up and running

Re: When Binaries don't exist... (Mark Sutfin)

2003-01-24 Thread Jan Dubois
On Fri, 24 Jan 2003 12:31:18 -0500, Jonathan Epstein <[EMAIL PROTECTED]> wrote: >I believe that to make gcc work you will need to compile Perl from scratch as well as >all the other modules that you will use (even the ones for which PPDs are available). > >While the full-blown Visual Studio costs

Re: Importing Win32 Symbolic Constants

2003-02-15 Thread Jan Dubois
On Sat, 15 Feb 2003 11:03:30 -0700, "Steve" <[EMAIL PROTECTED]> wrote: >In the Win32 docs at http://search.cpan.org/author/JHI/perl-5.8.0/lib/Win32.pod in >the item for Win32::SetChildShowWindow it says: > >[EXT] The following symbolic constants for SHOWWINDOW are available (but not >exported) f

Re: re-executing a program

2003-02-17 Thread Jan Dubois
On Mon, 17 Feb 2003 22:04:43 -0500, "Dax T. Games" <[EMAIL PROTECTED]> wrote: >Simple. > >Create a new script with the following contents: > >exec("\"c:\\program files\\internet explorer\\iexplore.exe\""); > >Compile with -gui. > >exec pops up a command window when launched that stays open till IE

Re: Using PPM

2003-02-26 Thread Jan Dubois
On Wed, 26 Feb 2003 17:13:35 -0500, "Gregory, Carlton" <[EMAIL PROTECTED]> wrote: >Good Evening, G'day! > I am trying to use PPM but cannot get past some errors. > > I have looked at the docs and have boiled down some problems. > > My Perl is 5.8.0 build 805. I installed the Pe

Re: PPM error

2003-03-12 Thread Jan Dubois
On Tue, 11 Mar 2003 22:58:47 -0800, Christopher Hahn <[EMAIL PROTECTED]> wrote: >Hello all, Hi there! >I was about to post a question, but it seems that I know the reason >for my difficulties now, but am going to go ahead and post the problem. > >I installed ActivePerl 5.8 on a clean box and th

Re: PerlSvc

2003-03-12 Thread Jan Dubois
On Wed, 12 Mar 2003 13:35:33 -0500, John Deighan <[EMAIL PROTECTED]> wrote: >I have a service, that I've created with PerlSvc. Occasionally, it doesn't >start up correctly after a reboot, and I suspect that it's because it >accesses a database, and the database server may not have started >comp

Re: XS question on Windows

2003-06-23 Thread Jan Dubois
On Sat, 21 Jun 2003 15:52:17 -0700, Glenn Linderman <[EMAIL PROTECTED]> wrote: > // add (or create) the tooltip > if(perlcs.szTip != NULL) { > if(perlcs.hvParent != NULL) { > if(perlcs.hTooltip == NULL) { >

Re: "long" filenames on Windows 2K/XP

2003-07-21 Thread Jan Dubois
On Mon, 21 Jul 2003 13:51:29 -0600, "Tobias Hoellrich" <[EMAIL PROTECTED]> wrote: >I trying to find a solution for a problem that involves "long" filenames >under windows 2k/xp. This script: [...] >checking filename length of 251 >checking filename length of 252 >checking filename length of 253

Re: Perlapp reverse engineering.

2003-07-30 Thread Jan Dubois
On Wed, 30 Jul 2003 10:50:15 +0100, Beckett Richard-qswi266 <[EMAIL PROTECTED]> wrote: >> Run a debugger. Break right after perl_parse. Dump the OP tree >> and feed it to B::Deparse. I have verified this method's validity >> with the author of PerlApp. :-) > >Erm... ?:-) I talked with Autrijus

Re: Environment variables on Win98

2003-08-18 Thread Jan Dubois
On Mon, 18 Aug 2003 11:23:06 -0700, "$Bill Luebkert" <[EMAIL PROTECTED]> wrote: >Arms, Mike wrote: > >> Looks like one too many "}," here: >> >> 4 => { 0 => { 1 => 'Windows 95', >>2 => 'Windows NT 4.0' }, }, >> >> and the close should be after: >> >> 90 => { 1 =>

Re: how does MSI detect if WSH is installed in a win95 machine ?

2003-08-25 Thread Jan Dubois
On Sun, 24 Aug 2003 21:05:12 -0500, "D Columbich" <[EMAIL PROTECTED]> wrote: >I can not install the msi package of ActivePerl because the installer ask me >to install Windows Scripting Host in the machine, but it is already >installed. I need to know where and what the MSI package read to know if

Re: Moving with File::Copy between Drives

2003-09-10 Thread Jan Dubois
On Wed, 10 Sep 2003 13:33:40 -0700, "Ford, Graham" <[EMAIL PROTECTED]> wrote: >I am getting the error 'Permission denied at test.pl line 3' when moving a file >between two drive volumes under WIndows 2000. The script is running with >administrator permissions. The script is short: > >_star

Re: perlis is *very* slow

2003-11-02 Thread Jan Dubois
On Sun, 2 Nov 2003 23:36:19 -0500, "Trevor Joerges" <[EMAIL PROTECTED]> wrote: >Will setting the auto-flush variable $| to a non-zero value inside each CGI >script resolve this? No, $| is not being used for buffering inside PerlIS at all. Each buffer is always flushed immediately anyways, but na

Re: Strange perl problem on W2000

2003-11-05 Thread Jan Dubois
On Wed, 5 Nov 2003 13:49:24 +0100, "Huub Peters" <[EMAIL PROTECTED]> wrote: >I allready sent this out directly at Jan Dubois because I thought he >might have the solution to this problem. No respons yet so I'll throw it >in here Sorry, I'm extremely busy

Re: Strange perl problem on W2000 ( longish email )

2003-11-07 Thread Jan Dubois
On Fri, 07 Nov 2003 17:10:48 -0800, Jeff Griffiths <[EMAIL PROTECTED]> wrote: Hi Jeff! :) >1. even though we set up IIS for Perl CGI during the MSI install, you also >have to manually 'Allow' the extension in the Internet Information >Services Manager under 'WebService Extensions'. This is becau

Re: compiled perl scripts?

2003-11-03 Thread Jan Dubois
On Mon, 3 Nov 2003 09:50:04 -0800, "Ilene Jones" <[EMAIL PROTECTED]> wrote: >I'm using PerlApp quite successfully :) We are using standard Perl libraries, >and the only problem we had was with the binding of libxml2.dll ... Once we >got the bind statement right (using the right file from the righ

Re: MS-Dos and Win32 Console apps

2003-12-02 Thread Jan Dubois
On Tue, 02 Dec 2003 19:13:01 -0800, Jeremy A <[EMAIL PROTECTED]> wrote: >Hi all, Hi there, >is there any way to test if any given program is a classic MS-Dos >,Win32-Console or (non console)Windows GUI based application, using a perl >script? Yes. Just copy the corresponding code from \perl\

Re: Status on "Free to wrong pool" problem?

2004-03-07 Thread Jan Dubois
On Tue, 02 Mar 2004 14:15:44 +0100, Anders Boström <[EMAIL PROTECTED]> wrote: >Could someone (Jan?) summarize on what is known and done about the "Free >to wrong pool" problems? They are created by bugs in Perl's multithread support. >I still get crashes on threaded programs in 5.8.3.809. >Is t

Re: Win32::OLE and events from multiple source interfaces

2004-03-31 Thread Jan Dubois
On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli <[EMAIL PROTECTED]> wrote: >I have a ATL COM server which supports two connection point >interfaces IAsiaCommonEvent and IAsiaTestEvent along which >it can fire COM events . Now, I can get events from either of >these connection points, one at

Re: Array from a string.

2004-03-31 Thread Jan Dubois
On Wed, 31 Mar 2004 18:46:06 -0500, Eric Amick <[EMAIL PROTECTED]> wrote: >On Wed, 31 Mar 2004 08:46:05 -0800, you wrote: > >>> Yes. Use the bundled module Text::ParseWords. >>> >>> use Text::ParseWords; >>> $string = 'one two "three four" five'; >>> @array = parse_line(' ',0,$string); >>>

Re: Array from a string.

2004-03-31 Thread Jan Dubois
On Wed, 31 Mar 2004 23:37:47 -0500, "Randy W. Sims" <[EMAIL PROTECTED]> wrote: >On 3/31/2004 11:17 PM, Jan Dubois wrote: > >> Core module should not be in the PPM repository at all. Even if did >> manage to install them, they would still not become active as

Re: Win32::OLE and events from multiple source interfaces

2004-04-16 Thread Jan Dubois
On Fri, 16 Apr 2004 09:19:30 -0700, Rajkumar Malli <[EMAIL PROTECTED]> wrote: >At 09:15 PM 3/31/2004, Jan Dubois wrote: >>On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli <[EMAIL PROTECTED]> >>wrote: >> >>>I have a ATL COM server which s

RE: Win32 OLE modification of component identity

2004-05-03 Thread Jan Dubois
> Try something like this. > > $COMComponent->{Value}->{Identity} = $varUserStr; > $COMComponent->{Value}->{Password} = $varPasswordStr; > > There seems to be no Identity property on the Com Component Object, > instead, the user and pw are part of a variant of the Value property. Nope, this look

RE: Time::HiRes problems

2004-06-15 Thread Jan Dubois
>I'm having some problems with the time reported by Time::HiRes::time(). ... >Any idea what I'm doing wrong? Make sure that you are running version 1.53 of Time::HiRes or later: perl -MTime::HiRes -eprint$Time::HiRes::VERSION Earlier versions were acting more like Time::LoRes on Windows. Ch

RE: Time::HiRes problems

2004-06-15 Thread Jan Dubois
e 5.8 on this project. > > - Original Message ----- On Wed, 16 Jun 2004, "Jan Dubois" <[EMAIL PROTECTED]> wrote: > > > I'm having some problems with the time reported by > > > Time::HiRes::time(). ... Any idea what I'm doing wrong? >

RE: Time::HiRes problems

2004-06-15 Thread Jan Dubois
On Tue, 15 Jun 2004, $Bill Luebkert wrote: > Leigh Sharpe wrote: >> This is interesting. Using your example, if I change the usleep to >> 1000, I get a result of 0.010015 seconds. Using usleep(999), I get >> 0.00 secs. A difference of 1 uS in the usleep causes a difference >> of 10mS in the res

RE: Time::HiRes problems

2004-06-16 Thread Jan Dubois
On Wed, 16 Jun 2004, Beckett Richard-qswi266 wrote: > Hi Jan, can you help with this confusion, please? > > c:\>ppm query Time-HiRes Querying target 1 (ActivePerl 5.8.1.807) > 1. Time-HiRes [1.59] High resolution alarm, sleep, gettimeofday, > interval timers > > c:\>perl -MTime::HiRes -e"pri

RE: ole browser broke, xp sp2?

2004-09-13 Thread Jan Dubois
On Mon, 13 Sep 2004, Hon Shi wrote: > My perl doc OLE browser broke. I get this (see below) in the bottom > pane. Help! Thanks (maybe a new corp gpo setting?) You can fix this by renaming C:\Perl\html\OLE-Browser\Browser.dhtml to C:\Perl\html\OLE-Browser\Browser.htm and then editing

RE: Using the Graphical Debugger that comes with the PDK.

2004-11-03 Thread Jan Dubois
On Wed, 03 Nov 2004, Beckett Richard-qswi266 wrote: > > Like maybe use quick eval (^E) to eval "@ARGV". > > Aaahhh! OK, you can slap me now ;-) > > I was using QuickEval on @ARGV, rather than on "@ARGV" > > D'oh! You could also use Dump Variable (^D) if you want to invoke Data::Dumper on a com

RE: Convert Python Com Code to Win32::OLE

2004-11-05 Thread Jan Dubois
On Fri, 05 Nov 2004, Celeste Suliin Burris wrote: > testtext = gp.Usage("Buffer_analysis") ... > $testtext = $gp->{Usage}->("Buffer_analysis"); Try: $testtext = $gp->Usage("Buffer_analysis"); Cheers, -Jan ___ Perl-Win32-Users mailing list [EMAIL P

RE: Win32::OLE - Threadsafe?

2004-11-11 Thread Jan Dubois
On Thu, 11 Nov 2004, Jeff Griffiths wrote: > Paul Sobey wrote: >> Just realised if you turn that use into a require Win32::OLE after >> the threads have been spawned, it works ok. Anyone know why this >> should be so? I thought I read somewhere that Win32::OLE was >> threadsafe but it seems not! >

RE: Max Number of threads?

2004-11-17 Thread Jan Dubois
On Wed, 17 Nov 2004, John Serink wrote: > Anyone know what the maximum number of threads a Win32 perl app > can spawn? It is somewhere between 60 and 63. Can't remember the exact number... Cheers, -Jan ___ Perl-Win32-Users mailing list [EMAIL PROTECT

RE: ActiveState perl and the perl debugger

2004-12-17 Thread Jan Dubois
On Fri, 17 Dec 2004, Sisyphus wrote: > What does one need to do to successfully invoke perl's debugger (with > ActiveState perl, build 810). > > E:\test>perl -d test.t Can't locate F:\Perl\bin\PerlDB.pl in @INC > (@INC contains: > E:/Perl810/lib E:/Perl810/site/lib .). BEGIN failed--compilation >

RE: ActiveState perl and the perl debugger

2004-12-18 Thread Jan Dubois
On Sat, 18 Dec 2004, Sisyphus wrote: > Jan Dubois wrote: >> This looks like some leftover stuff from an old PDK or ActiveState >> debugger installation. Check your environment for the PERL5DB >> variable, and more likely, you registry under HKLM/Software/Perl and >> s

<    1   2   3   4   5   >