I am writing a CPAN style module Device::U2C for communicating with a
Diolan U2C-12 USB board.

I made a .lib import library for its proprietary DLL that talks to the U2C-12.

If I specify absolute paths to the library in my Inline::C invocation
then I have no problem getting it to link in the .lib and find the
.DLL at run-time.

But, I'd like to just place the .lib, .dll in my Device-U2C project so that when

perl Makefile.PL
nmake
nmake install

that off in my c:\perl directories, the .DLL will show up in the
.../auto/Device/U2C and be found by dynaloader. And the .lib will be
linked into the binary extension loaded by dynaloader.

Any help or pointers to other information is appreciated.

-- John.

Reply via email to