|
Hi All,
We have an application developed in MFC in which we can
plug in Dlls with right interface to do the work. I wanted to
create a Dll in perl using the activestate perl development
kit and try to make things work.
So I wrote a very simple module in perl
which had only one method and made sure that this method is declared in the
typelib of the module. I was able to create a dll using the
perlctrl utility of PDK. Once I had the dll I tried to load the dll
and call the function from a simple C++ code. It looked like
the loading succeeded, but I was not able to call the
function. Also when I tried looking at the interface of the
Dll in Depends.exe, I could not find the method that I declared.
I would appreciate any help in understanding the problem and
also in solving it. Also while I was spending some time behind
calling a perl dll in C++, I was also wondering if one can
call a C++ dll in perl. Is there any LoadLibrary in perl??
Thanks in advance.
Sumit.
|
