-
November 27th, 2013, 05:38 PM
#1
How to add a symbol of function into the file .exp
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,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|