ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
Re: Problem with lanman
by Sisyphus other posts by this author
Aug 6 2008 5:52PM messages near this date
view in the new Beta List Site
Problem with lanman | Re: portable GUIs
----- Original Message ----- 
From: "Barry Brevik" <BBrevik@[...].com> 
To: <perl-win32-users@[...].com> 
Sent: Thursday, August 07, 2008 7:36 AM
Subject: Problem with lanman


>  I'm runing Perl v5.8.8 build 819 on Windows XP. I'm all excited about a
>  couple of books I bought: Win32 Perl Programming the Standard
>  Extensions, and Win32 Perl Scripting the Administrator's Handbook.
> 
>  Some of the sample code from the book have:
> 
>   use Win32::NetAdmin;
> 
>  ...at the beginning of the program. I have no trouble with those
>  programs.
> 
>  However, some of the examples have:
> 
>   use Win32::Lanman;
> 
>  The very presence of that line causes my program to crash immediately
>  with that ubiquitous Windows 2-tone gray dialog saying that Perl has
>  committed a heinous crime, etc. Perl itself never issues any error
>  despite "use strict; use warnings;", and the cmd window is never closed.

How did you install it ?
There's a PPM for it at the bribes repository that could be worth a try
(assuming it's not what you've already got).

Just:

  ppm remove Win32-Lanman

and then:

  ppm install http://www.bribes.org/perl/ppm/Win32-Lanman.ppd

There's also a PPM (at the same repository) for Win32API::Net which,
according to its description is a "Perl interface to the Windows NT
LanManager API account management functions". It could be worth trying as an
alternative to Win32::Lanman if all else fails:

   ppm install http://www.bribes.org/perl/ppm/Win32API-Net.ppd

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Barry Brevik
Sisyphus

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved