Hello,
If there are two projects A and B. A is created as .dll, while B is created as static library.
project A has a class "classA"
classA: public classB
{
public:
testA();
};
project B has a class "classB"
classB
{
public:
testB();
} ;
I want to make a symbol of classB::testB() in A.exp (like ?testB@classB@@QAEXXZ), can I do it by using __declspec(dllexport)?
Also if I make classB as a template class, can the symbol of classB::testB() be generated automatically in A.exp when building project A?
Thanks,