Hello,
I have a rather simple question which I can't solve on my own because I'm still a rookie
Anyway, I have my main application (main.exe) and a module.dll. My application has an AbstractModule class for custom modules and the module.dll uses this.

AbstractModule.h
Qt Code:
  1. //.h
  2. class AbstractModule
  3. {
  4. public:
  5. virtual QString name() const = 0;
  6. bool isSomething() const;
  7. };
  8.  
  9. //.cpp
  10. bool AbstractModule::isSomething()
  11. {
  12. return true;
  13. }
To copy to clipboard, switch view to plain text mode 

Now I create a separate module dll for the first module ("module.dll") and it uses the "abstractmodule.h":
Qt Code:
  1. //.h
  2. #include <abstractmodule.h>
  3. class Module : public AbstractModule
  4. {
  5. public:
  6. Module();
  7.  
  8. QString name() const;
  9. };
  10.  
  11. //.cpp
  12. Module::Module()
  13. {
  14. bool isIt = this->isSomething(); //Link error (LNK2019)
  15. }
  16. QString Module::name() const
  17. {
  18. return "Test";
  19. }
To copy to clipboard, switch view to plain text mode 

In Visual Studio I set the "module.dll"-project to be dependent on the "main.exe"-project.
But when I try to compile the solution I get a link error:
error LNK2019: unresolved external symbol [...]
I guess it has somehow to do with the fact that the definition of AbstractModule::isSomething() is in the .exe?
I'm sorry, but I'm totally new to this whole dll stuff
Thank you for your help.