Home > Archive > PERL Modules > October 2005 > Getting Path of an external DLL in Perl: Inline C.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Getting Path of an external DLL in Perl: Inline C.
|
|
| Sankaran 2005-10-03, 3:55 am |
| 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
| |
| Sisyphus 2005-10-03, 3:55 am |
|
"Sankaran" <psankarv@yahoo.com> 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
| |
| Sisyphus 2005-10-03, 3:55 am |
|
"Sankaran" <psankarv@yahoo.com> 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
| |
| Sankaran 2005-10-03, 3:55 am |
| No error message. The program simply goes off. But if I place the DLL
in my current folder it works.
Sankaran
|
|
|
|
|