Hi
Problem solved.
As stated in an earlier reply from Salem, the libraries used were VC++ compiled and therefor could not be used with MinGW/Dev-C++.
I solved the problem by using a tool to create definition files from the existing dll's.
I then edited the stdcall functions in the definition files. All the stdcall functions in the file were in the form "_name@ordinal". I simply changed it to be just "name".
This would have worked also:
name = _name@ordinal
I then used dlltool to create .a files from the dll's and the definition files, .def.
After this, the linking went OK.