Let me explain my situation: I have a COM dll that exposes some APIs. On top of this there is another DLL that includes a .i file that uses the COM DLL. After compiling the .i with swig results a .cxx file which is then compiled and linked to perl56.lib.
This whole thing generates a DLL that can be used to access to COM APIs from perl.
I was hoping I can find a way to dynamically link to perl, but can't find anything.