bart has asked for the wisdom of the Perl Monks concerning the following question:
This is IndigoPerl 5.6.1. I get an almost identical result on the other perls, ActivePerl 5.6.1 build 631 and 5.8.3 build 809.>.\perl -MWin32::NetResource -e "print 1" Can't load 'D:/programs/indigoperl/site/lib/auto/Win32/NetResource/Net +Resource.d ll' for module Win32::NetResource: load_file:A device attached to the +system is not functioning at D:/programs/indigoperl/lib/DynaLoader.pm line 206. at -e line 0 Compilation failed in require. BEGIN failed--compilation aborted.
My network seems to be working OK, I can browse the shares and open files in Perl scripts, both with a mapped drive letter and with an UNC path.
It works on my other computer (an XP laptop). What can I do about it?
All I want is to use the Win32 API call NetShareGetInfo(), and maybe GetUNCName(). If anybody knows about a less sensitive module than this one, to achieve the same task, suggestions are welcome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Failure to load Win32::NetResource
by BrowserUk (Patriarch) on Sep 13, 2004 at 21:19 UTC | |
by bart (Canon) on Sep 13, 2004 at 21:53 UTC | |
by BrowserUk (Patriarch) on Sep 13, 2004 at 22:01 UTC |