[Dev-C++] Using functions from a DLL
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Olmo G. <ol...@ol...> - 2003-06-03 21:09:09
|
Hi everyone, I've just suscribed to the list, and I already have a small question. Im using the latest version of Dev-Cpp (as of today). I want to call some functions that are in a DLL file, from a C source file. Files I have: foo.dll foo.def foo.h I've #include'ed foo.h in main source file. I've added '--def foo.def' to the linker parameters, as indicated in the FAQ. I'm getting error messages from the linker, such as (...) undefined reference to load tool@12 (load_tool is a function im calling from the DLL). Am I missing something? Sugestions are welcome and appreciated. Regards, Olmo |