A: 

"The project works fine with all the libraries statically linked in debug and release."

Isn't that your answer then? What advantage would dynamic linking have for this scenario?

Paul Betts
Since it is a framework that is going to be used for many projects, the advantages of DLL will hold (fast linking, updates without recompiling). I would also like to know a solution to this problem rather than side step it.
Samaursa
A: 

I found a solution but I don't know why it works. There would be an explanation if all the functions (instead of just the one) that were defined in the header gave the linking error, but no, there are only two.

Anyway, the solution is to put the definitions of the functions in the source files. Why does that work? If anybody has an explanation to that, that will be great.

Samaursa