Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Win32::AdminMisc 'can't load the dll'

by atemon (Chaplain)
on Oct 25, 2007 at 06:30 UTC ( [id://647085]=perlquestion: print w/replies, xml ) Need Help??

atemon has asked for the wisdom of the Perl Monks concerning the following question:

Hi, monks

I have installed Win32::AdminMisc on my windows machine with Active state Perl 5.8.8. Its throwing the error

Can't load 'C:/Perl/site/lib/auto/Win32/AdminMisc/AdminMisc.dll' for +module Win32::AdminMisc: load_file:The specified module could not be +found at C:/Perl/lib/DynaLoader.pm line 230. at C:\mydir\Perl\change_ +pwd.pl line 3 Compilation failed in require at C:\mydir\Perl\change_p +wd.pl line 3. BEGIN failed--compilation aborted at C:\mydir\Perl\chan +ge_pwd.pl line 3.
I checked with Win32::AdminMisc Problems, Win32::AdminMisc 'can't load the dll' error and Help installing Win32::AdminMisc. But none of the suggestions work.

I downloaded AdminMisc from www.roth.net. Can you please help? Thank you in advance for the help.

Update: both AdminMisc.dll & msvcr70.dll in my path.

Cheers !

--VC

My Home

Replies are listed 'Best First'.
Re: Win32::AdminMisc 'can't load the dll'
by syphilis (Archbishop) on Oct 25, 2007 at 07:06 UTC
    Hi vcTheGuru,

    Download AdminMisc_5008.Zip from that page you provided a link to. (I would think that's what you've already done.) When you unzip, look for the file named Win32-AdminMisc.ppd - which will be in the top level directory to which you unzipped the archive. Then 'cd' to that directory and run ppm install Win32-AdminMisc.ppd. That should install a working version of Win32::AdminMisc into your perl 5.8.8. (It did for me.) You will need msvcr70.dll somewhere in your path to succesfully use this build of Win32::AdminMisc. You should be able to find msvcr70.dll by googling - if you don't already have it.

    I wonder whether it's the absence of msvcr70.dll that has prevented AdminMisc.dll from loading and led to the error message you've reported ? Normally, when a dll can't be found you'll also get a pop-up specifying exactly which dll it was that could not be found

    Cheers,
    Rob
Re: Win32::AdminMisc 'can't load the dll'
by atemon (Chaplain) on Oct 25, 2007 at 18:40 UTC

    Hi, Thanks everybody

    Fixed it by downloading & installing msvcr70.dll again.

    Cheers !

    --VC

    My Home

Re: Win32::AdminMisc 'can't load the dll'
by Corion (Patriarch) on Oct 25, 2007 at 06:32 UTC

    Well, does the DLL exist in the given place?

      Yep, The dll exist in the given place.

Re: Win32::AdminMisc 'can't load the dll'
by ldln (Pilgrim) on Oct 25, 2007 at 14:19 UTC
    This works for me with perl 5.8.8-817

    ppm install http://www.roth.net/perl/packages/Win32-AdminMisc.ppd

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://647085]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found