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

Hi All,

Sorry this is embarrassingly basic, but I have been having problems install Win32-AdminMisc. I have just trashed Perl 5.6 in favour of 5.8 and began to install the modules again. I had no problems with any modules, well apart form Win32-adminmisc. I have spent most this weekend installing and uninstalling this module. And when I try to run a test (the use win32::adminmisc line is the only thing in the script) I get windows error "perl.exe - unable to locate component; this application has failed to start because MSVCR70.DLL Was not found. Re-installing the application may fix this problem,". I searched for MSVCR70.DLL couldn’t find any! And I don’t know if the error message is a red herring.

Has anyone experienced any problems such as this?....Any fix?

Thanks

Replies are listed 'Best First'.
Re: problems installing win32-adminmisc
by BrowserUk (Patriarch) on Aug 24, 2003 at 23:18 UTC

    Micro Soft Visual C Runtime v7.0. dll.

    Wherever you obtained your binary copy of Win32::AdminMisc, they built it using MSVC++ v7.0. The runtime dll's are freely available on the net, which would fix that problem. Just stick it in \winnt\system32 and the error will go away.

    However, the fact that you don't already have this on your system means that your copy of perl was built with a different (version of the) compiler. That could cause problems. There is a fairly good chance it won't-- Win32 DLLs are fairly independant--but it would be worth keeping an eye open for 'funny' errors when using the module.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
    If I understand your problem, I can solve it! Of course, the same can be said for you.

      Thanks again dear ol' BrowserUk...It is strage that this error has occurred on my work laptop as well after installing Active State Perl v 5.8,...hmmmm!!!
Re: problems installing win32-adminmisc
by Limbic~Region (Chancellor) on Aug 24, 2003 at 22:54 UTC
    blackadder,
    I am searching all over CPAN trying to find Win32::AdminMisc and can't find it anywhere? Where are you downloading this from? In any case, MSVCR70.DLL can be downloaded - just ask The Oracle.

    Cheers - L~R

    Update: I consulted The Oracle as to where to find Win32::AdminMisc. I found this interesting. You need to match the version of the module to both the build of Perl and the flavor (AS for instance). I would definately look at this as well.

      You must be able to get it on david Roth's (its his module) and jenda....thats at least!

      Below is the screen dump prove of my ppm.

      Cheers
      F:\Documents and Settings\->ppm PPM - Programmer's Package Manager version 3.1. Copyright (c) 2001 ActiveState SRL. All Rights Reserved. Entering interactive shell. Using Term::ReadLine::Stub as readline lib +rary. Type 'help' to get started. ppm> search win32-a* Searching in Active Repositories 1. Win32-AbsPath [1.0] convert relative to a +bsolute paths 2. Win32-AbsPath [1] (none) 3. Win32-AdminMisc [0.2003.07.14] The Win32::AdminMisc +extension for Win32 X86 4. Win32-AdminMisc [0.2000.07.08] The Win32::AdminMisc +extension for Win32 X86 5. Win32-ADO [0.03] ADO Constants and a c +ouple of helper functions 6. Win32-API [0.41] Perl Win32 API Import + Facility 7. Win32-API-OutputDebugString [0.03] OutputDebugString Win +32 API support 8. Win32-API-Prototype [0.2002.12.17] The Win32::API::Prototype module. Simplifies usi~ 9. Win32-API-SetErrorMode [0.1] Win32 API function Se +tErrorMode() 10. Win32-ASP-DB [0.02] (none) 11. Win32-ASP-Extras [1.01] (none) 12. Win32-Autoglob [1.01] (none) ppm> rep Repositories: [1] Roth [2] local [3] ActiveState PPM2 Repository [4] jenda [5] ActiveState Package Repository ppm>
      Cheers
        blackadder,
        I am afraid that other than the notes I gave you in my original post (such as to download the .dll yourself), I can't be off much help. I am on/using someone else's computer (Win98) and get the following:
        C:\WINDOWS>perl -MWin32::AdminMisc The Win32::AdminMisc module works only on Windows NT/2000/XP/2003 at C +:/Perl/site/lib/Win32/AdminMisc.pm line 29. Compilation failed in require. BEGIN failed--compilation aborted.

        Cheers - L~R

      Much obliged Limbic~Region and extended my gratitude to the Oracle.