Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Application error (perl.exe) NT

by Anonymous Monk
on Jul 03, 2002 at 05:50 UTC ( [id://179068]=perlquestion: print w/replies, xml ) Need Help??

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

I have downloaded an module (.dll format).I have set PERL5LIB path pointing to the dll directory manually .After doing so if i try to run the my program it throws an application error,if the PERL5LIB is not mean it throws error stating that unable to find loadable modules. Your help is greatly appreciated.

Replies are listed 'Best First'.
Re: Application error (perl.exe) NT
by DamnDirtyApe (Curate) on Jul 03, 2002 at 06:09 UTC

    Assuming you're talking about a CPAN/other Perl module, DLL files are not the way to go. In fact, I've never heard of installing a module as a DLL. Perl modules have a .pm extension.

    Perhaps if you describe more specifically what you are trying to accomplish, and what you have already done, we can point you on the right path.


    _______________
    D a m n D i r t y A p e
    Home Node | Email
      Fine i can. The perl modules come with an application.(code composer studio).When installing that he will install perl with path set to that modules. The module directory contains
      ccs_script_perl.pm
      ccs_script_perl.dll
      ccs_server.lib
      ccs_server.dll
      ccs_scipting_com.dll


      AS i have installed perl in my machine already i have just copied these file to one directory and set the perl5lib to that directory.
      I guess it is problem with loading dll.this is first time i am also seeing the loadable objects in dll format.
      looking for your reply..
      Thanks & regards,
      Raj

      Sorry, I'm still confused. Perhaps it is I who should be more specific. It would be particularily helpful if you would post the following:

      1. The Perl code you are attempting to run which generates the error.
      2. The exact error that perl produces.

      _______________
      D a m n D i r t y A p e
      Home Node | Email

        I went out and found the documentation for the module you're using, but I still don't really know what's wrong here. Here's the questions I'd ask after reading the docs:

        • It sounds like this app installs Perl 5.004 on your system. Is this actually the version of Perl that you are running the app with, or do you have another version on Perl on your system?
        • Are you running the script from the \ti\bin\utilities\ccs_scripting\examples\perl directory, as the docs say?
        Sorry I can't be of more help.
        _______________
        D a m n D i r t y A p e
        Home Node | Email
        use CCS_SCRIPTING_PERL; # Declarations and Inititalizations<br> # Create a new CCS Scripting object<br> my $MyCCScripting = new CCS_SCRIPTING_PERL::CCS_Scripting();

        When this two line are included in my code i get the application prompted By Dr.Watson which says the following

        Application:perl.exe
        Exception:access violation(0xc00000005),Address:0x10004d52.

        If the PERL5LIB is not set to the dll directory .The perl interpreter throws "Can't Locate Loadable oblecy for the module ccs_scripting_perl.pm"

        Regards,

        Raj.

        Edited: ~Wed Jul 3 14:41:22 2002 (GMT), by footpad:
        Added <code> tags and fixed HTML formatting

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2024-04-23 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found