I think this is a basic question...
Could anyone tell me please, how to import DLLs using GCC?
I'm using Dev C++...
This one keep failing...
Code:#define IMPORT __declspec (dllimport) template<typename T>class IMPORT TestClass { public: T add(T a, T b); }; int main() { TestClass<int> test; test.add(10, 20); };Thanks in advance.Code:[Linker error] undefined reference to `TestClass<int>::add(int, int)'