I'm sorry, but I stated it wrong...
I have the DLLs, precompiled for me. Particularly, the .DLL files is what I have.
What I know is to use this DLLs in new programs, I have to make interface libraries for the DLLs... How do I do that? I've been trying to use dlltool with this purpose. I'm using the following in the command line...
dlltool -D MyDLL.dll -l MyDLL.a
and the interface library comes out just fine. However, When I try to compile programs linking with the library, I'm still getting undefined references to functions. I have made a header file for the library, which contains the DLLs exported functions... but when I compile, I get the an undefined reference to the functions.
Am I doing the thing right? I created the import/interface library then created my own header files. I included this header files with my code, then linked with the interface library... was it right?
__________________________________
www.edsamail.com
|