Windows

32 bit executable from a 64 bit machine

I'm running Windows on a 64 bit machine along with perl5 for "MSWin32-x64-multi-thread".
Created a simple perl script and compiled into an executable with perlapp.

The app doesn't run at all on a 32 bit machine. My first thought was to select a new target system from the perlapp "Main" tab, but a popup message indicates, "PerlApp doesn't have a cached copy of ActivePerl for Windows. A copy will be downloaded from ActiveState and installed in the target cache if you try to create an executable or visit the files tab with this target setting."

Tk module no longer supported?

I've noticed that the Tk module is no longer supported on ActivePerl 5.14 and later. I have a script I wrote a few years ago that lots of new users want to use, but they're unable to install the module. What options do I have? Tell them to install an older version of Perl?

I see Tkx which I know nothing about. Is it possible to port my script over to Tkx? I also use Tk::Dialog and don't see that in any module list for Tkx.

thanks
Scott

encrypting/hidding password in net use command

Hello,

I am trying to invoke net use command in my perl script as follows:

my $cmd = "net use \\\\" . $server . "\\ipc\$ /u:" . $self->{DOMAIN} . "\\" . $self->{USER} . " \"" . $self->{PASSWORD} . "\"";

my @results = `$cmd 2>&1`;

The problem is that if I run the perl script and open Process explorer, my password is visible in cleartext.
I am not sure how I can send an encrypted password or hidden password in this command so that it doesnt show up in process explorer.

Any help is greatly appreciated!

Thanks & Regards,
Plik

VMWare Stackato Zip file won't unzip

Question: 

Do I really need 735 PB to unzip the VMWare Stackato VM?

Answer: 

No you certainly do not. Windows zip program is interpreting the zip file incorrectly and is looking for far more space than it needs. Just download 7zip and use it to unzip your file.

Solved - Load dll in basekit

Hello,

I want to switch from tclkit (created by www.patthoyts.tk) to basekits provided with ActiveTcl. However the basekit from 8.5.12 does not load the udp109.dll when I wrapped my files.

What is the problem?

By the way the basekit lists a package called dyndll. I could not find any information about it. Can anybody give some information about it?

Regards,

Rüdiger

ActivePerl vs Perlbrew

What is the correct sequence to install App::perlbrew and two or more versions of Windows32 ActivePerl on a machine?
I am plagued with various errors, from missing $ENV{'HOME'} to ...
-- Use of uninitialized value in concatenation (.) or string at C:/Perl/site/lib/App/perlbrew.pm line 11.
-- 'which' is not recognized as an internal or external command,
operable program or batch file.
-- The system cannot find the path specified.
-- List form of pipe open not implemented at C:/Perl/site/lib/App/perlbrew.pm line 213.
... when trying to do anything

Typelib reference in WSC not working

Am converting a windows script component that is currently in jscript to python.

Things are mostly working. However while the <object> element in the WSC file has the desired effect the <reference> element does not.

So while having
<object id='FileSystem' progid='Scripting.FileSystemObject' />
in the WSC makes an object named FileSystem available to the script code having an element like this
<reference guid='<some type lib guid>' />
is not bringing the names from typelib into scope.

Fwiw the only thing I want from the typelib is the enumeration.

Node.js debugging just stopped in Komodo when it was working 5 minutes ago!

Question: 

Why won't my Node.js debugging work in Komodo any more?

Answer: 

Node.js was original designed with Posix systems in mind. It uses network calls not available on Windows systems. There was a port done in the open community which is not quite complete so sometimes processes are left running. The debugger thinks it has shut them down but it hasn't.

If you're node.js (or javascript) debugging stops working properly on your Windows machine your problem is most likely that some Node servers have been left behind. This will occur if you prematurely kill the debugger session.

Open your Task Manager and kill any node.js processes still running.

- Carey

Writer.pm

Why can't I install Win32::Word::Writer.PM? Not in PPM list either. It lives in CPAN.

I have perl ver 5.14 and latest PDK.

--cg

file test operator -e returns true for a pair of empty double quotes

Posted this to the 'Perl Discussion' area and got no responses. Sorry for the double post, but, bringing it here, hoping for some feedback.

--------

Have some code that gets its input from another application over which I have no control. The input is supposed to be a list (array) of files (fully qualified path/to/filename).

Sometimes, the feeder includes in the array an element that contains a pair of empty double quotes and nothing else. Unexpectedly, the Perl '-e' operator tells me this is a valid file and that it exists.