Original Post
Hi all
I have 2 projects, an executable and a DLL.
Executable:
In this project I have a class called classA, which is declared in a normal header file. There are a few member functions. The definitions of this functions are in a normal cpp file.
DLL
This DLL only includes the header file of classA(from the executable).
The DLL receives an pointer to an classA and tries to call a member function of classA. When I try to compile I receive a linker error "unresolved symbols...". But when I declare all the functions in the classA as virtual all works fine. Can somebody explain that to me?
thx phyl0men0