Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I determine the size of dynamic array? Pin
Tomasz Sowinski11-Sep-01 4:01
Tomasz Sowinski11-Sep-01 4:01 
GeneralRe: How can I determine the size of dynamic array? Pin
Christian Graus11-Sep-01 4:34
protectorChristian Graus11-Sep-01 4:34 
AnswerRe: How can I determine the size of dynamic array? Pin
Masaaki Onishi11-Sep-01 5:44
Masaaki Onishi11-Sep-01 5:44 
Generalsaving drawings in a VIEW Pin
11-Sep-01 2:36
suss11-Sep-01 2:36 
GeneralRe: saving drawings in a VIEW Pin
Christian Graus11-Sep-01 3:55
protectorChristian Graus11-Sep-01 3:55 
GeneralCheck the "Key-Pressed" Status Pin
11-Sep-01 1:50
suss11-Sep-01 1:50 
GeneralRe: Check the "Key-Pressed" Status Pin
Christian Graus11-Sep-01 2:16
protectorChristian Graus11-Sep-01 2:16 
GeneralVB vs VC++ in User Interfaces Pin
Alberto Bar-Noy11-Sep-01 1:27
Alberto Bar-Noy11-Sep-01 1:27 
GeneralRe: VB vs VC++ in User Interfaces Pin
Anders Molin11-Sep-01 1:30
professionalAnders Molin11-Sep-01 1:30 
GeneralRe: VB vs VC++ in User Interfaces Pin
Christian Graus11-Sep-01 1:32
protectorChristian Graus11-Sep-01 1:32 
GeneralRe: VB vs VC++ in User Interfaces Pin
Michael P Butler11-Sep-01 3:08
Michael P Butler11-Sep-01 3:08 
GeneralCDTPicker format Pin
10-Sep-01 23:52
suss10-Sep-01 23:52 
GeneralRe: CDTPicker format Pin
Tomasz Sowinski11-Sep-01 0:08
Tomasz Sowinski11-Sep-01 0:08 
GeneralRe: CDTPicker format Pin
11-Sep-01 21:57
suss11-Sep-01 21:57 
GeneralRe: CDTPicker format Pin
Anders Molin11-Sep-01 1:28
professionalAnders Molin11-Sep-01 1:28 
GeneralRe: CDTPicker format Pin
markkuk11-Sep-01 2:18
markkuk11-Sep-01 2:18 
GeneralRe: CDTPicker format Pin
Anders Molin11-Sep-01 2:30
professionalAnders Molin11-Sep-01 2:30 
GeneralRe: CDTPicker format Pin
11-Sep-01 15:30
suss11-Sep-01 15:30 
QuestionHow can I add a method to all controls? Pin
tfElep10-Sep-01 23:24
tfElep10-Sep-01 23:24 
AnswerRe: How can I add a method to all controls? Pin
Tomasz Sowinski10-Sep-01 23:42
Tomasz Sowinski10-Sep-01 23:42 
QuestionHow to recompile MFC source Pin
tfElep10-Sep-01 21:37
tfElep10-Sep-01 21:37 
AnswerRe: How to recompile MFC source Pin
Christian Graus10-Sep-01 21:44
protectorChristian Graus10-Sep-01 21:44 
GeneralUnicode text through SetWindowText functin Pin
Ivan A Eryshov10-Sep-01 21:36
Ivan A Eryshov10-Sep-01 21:36 
GeneralLinking error when using template class from MFC Extension DLL Pin
D.D. de Kerf10-Sep-01 21:33
D.D. de Kerf10-Sep-01 21:33 
Hi,

I'm exporting a template class from my MFC extension DLL, but as soon as I start using the template class outside the DLL, I get linker errors.

The template class in the DLL looks like this (myClass_Object is also defined inside the DLL):


template <class afx_ext_class="" caggregate="">
class AFX_EXT_CLASS myClass_Aggregate : public myClass_Object
{
public:
myClass_Aggregate()
{
....
}
...

}


I use the aggregate with a class from inside the DLL as the template class and the linker error looks like this (myClass_TreeFileNode is a subclass of myClass_Object):

DumpDB.obj : error LNK2001: unresolved external symbol "public: int __thiscall myClass_Aggregate<class myclass_treefilenode="">::IsEmpty(void)const " (?IsEmpty@?$myClass_Aggregate@VmyClass_TreeFileNode@@@@QBEHXZ)


Am I not exporting the class correctly??

Dave

Structured programming vs. chaotic mind boggling
GeneralRe: Linking error when using template class from MFC Extension DLL Pin
Ben M. Stokland10-Sep-01 21:44
Ben M. Stokland10-Sep-01 21:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.