Click here to Skip to main content
15,906,625 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is deleting "void*" safe? Pin
rrrado21-May-03 22:41
rrrado21-May-03 22:41 
AnswerRe: Is deleting "void*" safe? Pin
Iain Clarke, Warrior Programmer21-May-03 23:19
Iain Clarke, Warrior Programmer21-May-03 23:19 
GeneralRe: Is deleting "void*" safe? Pin
Abin21-May-03 23:58
Abin21-May-03 23:58 
GeneralRe: Is deleting "void*" safe? Pin
rrrado22-May-03 1:06
rrrado22-May-03 1:06 
Generalinheritance of templates & linking Pin
Themis21-May-03 21:51
Themis21-May-03 21:51 
GeneralRe: inheritance of templates & linking Pin
Iain Clarke, Warrior Programmer21-May-03 23:27
Iain Clarke, Warrior Programmer21-May-03 23:27 
GeneralRe: inheritance of templates & linking Pin
Themis22-May-03 1:07
Themis22-May-03 1:07 
GeneralRe: inheritance of templates & linking Pin
Iain Clarke, Warrior Programmer22-May-03 1:30
Iain Clarke, Warrior Programmer22-May-03 1:30 
My misunderstanding.

There are (not unreasonably) problems inheriting static functions. I presume you have templated the
DMR class to get around these. From the linker error, the compiler has implicitly assumed a
static foo * foo::New () function which you haven't implemented. Which probably brings you back
to square one again...

Just a thought... You may be able to create an non-static operator new in class DMR which
would be inherited. Probably! You are delving into the nasty bit of C++...

I'd be tempted to go back to the drawing board and see what your New function is doing. Maybe you
could just do it in the DMR::DMR () function.

There are usually several ways of achieving the same result. Maybe you've just picked the hard way!

Iain.
Generalfile list Pin
YanivNahum21-May-03 21:50
YanivNahum21-May-03 21:50 
GeneralRe: file list Pin
Martyn Pearson21-May-03 22:57
Martyn Pearson21-May-03 22:57 
GenerallDrawing a staic picture onto a moving(constant refreshing) picture Pin
Member 40481321-May-03 21:50
Member 40481321-May-03 21:50 
GeneralWindows GINA Pin
Lim Bio Liong21-May-03 21:43
Lim Bio Liong21-May-03 21:43 
GeneralDifficult - Owner data in CListCtrl - Pin
JensB21-May-03 20:22
JensB21-May-03 20:22 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
Rage21-May-03 21:12
professionalRage21-May-03 21:12 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
JensB21-May-03 21:28
JensB21-May-03 21:28 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
JensB21-May-03 22:05
JensB21-May-03 22:05 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
Rage21-May-03 22:15
professionalRage21-May-03 22:15 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
Rage21-May-03 22:06
professionalRage21-May-03 22:06 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
JensB21-May-03 22:16
JensB21-May-03 22:16 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
JensB21-May-03 22:30
JensB21-May-03 22:30 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
Rage21-May-03 22:35
professionalRage21-May-03 22:35 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
Rage21-May-03 22:30
professionalRage21-May-03 22:30 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
JensB21-May-03 22:44
JensB21-May-03 22:44 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
JensB21-May-03 22:59
JensB21-May-03 22:59 
GeneralRe: Difficult - Owner data in CListCtrl - Pin
Rage21-May-03 23:06
professionalRage21-May-03 23:06 

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.