Hi,
In general there are 2 things to wory about when calling any external code:
1.- Compiiling the functions correctly
2.- Linking the functions to the DLL
To compile the functions usually the programmer of the DLL provides an h file that contains a bunch of functio prototypes and data type definitions. Make sure that you include this file in you C files with the #include "xxxxxxx.h" statement. Sometimes the functions protptypes or type definitions use Windows datatypes; just include at the very top of the file (before the include for the dll h file) and this should take care of this.
As for linking, the dll provider should provide a *.lib file that instructs the compiler on where to find the functions declared in the h file. Make sure that
include in your project this .lib file in order to be able to link the project and create an executable. A common problem here is name decorations; if the dll you are calling was designed to be used in C++ it will include some extra characters in the function name.
I hope this gets you started in calling the dll successfully.
Regards,
Juan Carlos
N.I.