in reply to Application error (perl.exe) NT

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

Replies are listed 'Best First'.
Re: Re: Application error (perl.exe) NT
by perl_raj (Initiate) on Jul 03, 2002 at 06:27 UTC
    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
Re: Re: Application error (perl.exe) NT
by DamnDirtyApe (Curate) on Jul 03, 2002 at 06:41 UTC

    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
        Yes it will.
        I am not using the perl installed by it.If i use that it works fine.
        As i told i have perl 5.006 installed in my machine already so i set the perl5lib path only.as perl path is already set.then only i get application error.
        I guess the dll depends on perlversion is it so??.
        Raj.
      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