Getting Path of an external DLL in Perl: Inline C.
Getting Path of an external DLL in Perl: Inline C.
am 03.10.2005 05:41:08 von Sankaran
Hello All,
Subject: Getting Path of an external DLL in Perl: Inline C.
I have a Perl program where I am using Inline:C module to call C++
functions exposed by another DLL (Registry.DLL) . Normally the
Registry.Dll comes along with another installation and this will be
available in the Bin directory (For Eg. F:\MyInstallation\Bin).
For my testing purpose, I have copied the Registry.Dll in my local
folder and built the perl program to produce the exe.
The problem is like this, upon making the exe from my perl program, an
_Inline directory is created, of course this is obvious! And my exe is
also generated. When I remove the registry.Dll from my local directory,
assuming that the Registry.Dll will be taken from the Path, gives me an
error and the Registry.Dll is not being picked from the Bin folder as
expected. Ay suggestion how this can be solved?
I am assuming that this could be due to some wrong usage in Perl:Inline
C module and hence sending this mail to this group.
Regards,
Sankaran
Re: Getting Path of an external DLL in Perl: Inline C.
am 03.10.2005 08:57:26 von Sisyphus
"Sankaran" wrote in message
>
> The problem is like this, upon making the exe from my perl program, an
> _Inline directory is created, of course this is obvious! And my exe is
> also generated. When I remove the registry.Dll from my local directory,
> assuming that the Registry.Dll will be taken from the Path, gives me an
> error and the Registry.Dll is not being picked from the Bin folder as
> expected. Ay suggestion how this can be solved?
>
Are you using the PAR module's pp utility to make the exe from the perl
program ?
What does the error message say ?
Cheers,
Rob
Re: Getting Path of an external DLL in Perl: Inline C.
am 03.10.2005 08:58:15 von Sisyphus
"Sankaran" wrote in message
>
> The problem is like this, upon making the exe from my perl program, an
> _Inline directory is created, of course this is obvious! And my exe is
> also generated. When I remove the registry.Dll from my local directory,
> assuming that the Registry.Dll will be taken from the Path, gives me an
> error and the Registry.Dll is not being picked from the Bin folder as
> expected. Ay suggestion how this can be solved?
>
Are you using the PAR module's pp utility to make the exe from the perl
program ?
What does the error message say ?
Cheers,
Rob
Re: Getting Path of an external DLL in Perl: Inline C.
am 03.10.2005 10:05:26 von Sankaran
No error message. The program simply goes off. But if I place the DLL
in my current folder it works.
Sankaran