Guest_imported
New member
- Jan 1, 1970
- 0
I should know the answer to this, but sadly I don't!
I'm creating a DLL that contains a base class which has 2 constructors. My DLL compiles fine but when I call my new class from another app I get the following error;
unresolved external symbol "public: __thiscall CGetTeam::CGetTeam(class CString)" (??0CGetTeam@@QAE@VCString@@@Z)
Now I know that if I copy and paste the last bit of the error message (??0CGetTeam@@QAE@VCString@@@Z) into the .def file of the .dll project and recompile it, all will be well.
My question is, how do you populate the .def file correctly, i.e. rather than this back-to-front way that I'm doing it?. Not a serious problem, but I'd like to know the answer before someone comes and asks ME how to do it.
thanks.
I'm creating a DLL that contains a base class which has 2 constructors. My DLL compiles fine but when I call my new class from another app I get the following error;
unresolved external symbol "public: __thiscall CGetTeam::CGetTeam(class CString)" (??0CGetTeam@@QAE@VCString@@@Z)
Now I know that if I copy and paste the last bit of the error message (??0CGetTeam@@QAE@VCString@@@Z) into the .def file of the .dll project and recompile it, all will be well.
My question is, how do you populate the .def file correctly, i.e. rather than this back-to-front way that I'm doing it?. Not a serious problem, but I'd like to know the answer before someone comes and asks ME how to do it.
thanks.