要在不加.LIB的显示链接的情况下得到类的地址
of course. if you know compiler(now it named functin in c and c++), you will never ask this question.
a easy way:
to use TestClass::ClassMessageBox which build in dll
1. use depens view your dll.
2. find your dll name, then copy it name, like ?TestClass@??ClassMessage?@dkfjdk
3. in you host exe
loadlibrary and GetProcAddress(handle,"?TestClass@??ClassMessage?@dkfjdk")