Hello,
I'm having a difficult time implementing an MFC dll I have created.
When I attempt to use the dll in another application, I get an unresolved external linker error when I am declaring a instantiation of a new object of the dll type.
//the code is below
CSerialControl *SC = new CSerialControl();
//end code
do I need to export the constructor of the class in the dll? what about the InitInstance function?
Any help to point me in the right direction is appreciated.
Thanks.
I'm having a difficult time implementing an MFC dll I have created.
When I attempt to use the dll in another application, I get an unresolved external linker error when I am declaring a instantiation of a new object of the dll type.
//the code is below
CSerialControl *SC = new CSerialControl();
//end code
do I need to export the constructor of the class in the dll? what about the InitInstance function?
Any help to point me in the right direction is appreciated.
Thanks.