Click here to Skip to main content
14,272,313 members

ATL / WTL / STL

 
AnswerRe: cannot get text of __DATE__ Pin
Richard MacCutchan22-Apr-15 23:19
protectorRichard MacCutchan22-Apr-15 23:19 
GeneralRe: cannot get text of __DATE__ Pin
bkelly1324-Apr-15 2:01
memberbkelly1324-Apr-15 2:01 
Questionfunction to delete a class (resolved) Pin
bkelly1321-Apr-15 3:42
memberbkelly1321-Apr-15 3:42 
AnswerRe: function to delete a class Pin
Richard MacCutchan21-Apr-15 21:11
protectorRichard MacCutchan21-Apr-15 21:11 
GeneralRe: function to delete a class Pin
bkelly1322-Apr-15 4:08
memberbkelly1322-Apr-15 4:08 
QuestionRe: function to delete a class Pin
Richard MacCutchan22-Apr-15 6:27
protectorRichard MacCutchan22-Apr-15 6:27 
AnswerRe: function to delete a class Pin
bkelly1322-Apr-15 9:15
memberbkelly1322-Apr-15 9:15 
GeneralRe: function to delete a class Pin
Richard MacCutchan22-Apr-15 22:27
protectorRichard MacCutchan22-Apr-15 22:27 
I see the problem; my bad for missing it in your original question. Your function has the signature:
Void Delete_Stuff( WCHAR * name, void * item )
so when you call delete item the compiler has no idea what type item is, so just throws it away. You can only call delete on an object, when it is specifically typed so the compiler knows how to deal with it. You may try casting it to the relevant class type, but you would need some way of telling your function what type each pointer is.
GeneralRe: function to delete a class Pin
bkelly1323-Apr-15 16:16
memberbkelly1323-Apr-15 16:16 
GeneralRe: function to delete a class Pin
Richard MacCutchan23-Apr-15 21:11
protectorRichard MacCutchan23-Apr-15 21:11 
GeneralRe: function to delete a class Pin
Richard MacCutchan22-Apr-15 23:15
protectorRichard MacCutchan22-Apr-15 23:15 
QuestionAlways on top (Task Manager) C# Pin
Rainsey Long25-Mar-15 5:45
memberRainsey Long25-Mar-15 5:45 
AnswerRe: Always on top (Task Manager) C# Pin
Richard MacCutchan25-Mar-15 6:33
protectorRichard MacCutchan25-Mar-15 6:33 
GeneralRe: Always on top (Task Manager) C# Pin
Rainsey Long25-Mar-15 7:01
memberRainsey Long25-Mar-15 7:01 
GeneralRe: Always on top (Task Manager) C# Pin
Richard MacCutchan25-Mar-15 7:58
protectorRichard MacCutchan25-Mar-15 7:58 
Questionwhere is WINVER set (resolved) Pin
bkelly1323-Mar-15 8:43
memberbkelly1323-Mar-15 8:43 
AnswerRe: where is WINVER set Pin
Richard MacCutchan23-Mar-15 22:27
protectorRichard MacCutchan23-Mar-15 22:27 
AnswerRe: where is WINVER set Pin
Theo Buys2-Apr-15 0:27
memberTheo Buys2-Apr-15 0:27 
GeneralRe: where is WINVER set Pin
bkelly134-Apr-15 9:11
memberbkelly134-Apr-15 9:11 
QuestionUnicode and codeproject article Pin
bkelly1325-Feb-15 10:30
memberbkelly1325-Feb-15 10:30 
AnswerRe: Unicode and codeproject article Pin
Daniel Pfeffer25-Feb-15 21:02
professionalDaniel Pfeffer25-Feb-15 21:02 
GeneralRe: Unicode and codeproject article Pin
bkelly1326-Feb-15 3:34
memberbkelly1326-Feb-15 3:34 
GeneralRe: Unicode and codeproject article Pin
bkelly1328-Feb-15 10:36
memberbkelly1328-Feb-15 10:36 
GeneralRe: Unicode and codeproject article Pin
Daniel Pfeffer28-Feb-15 11:52
professionalDaniel Pfeffer28-Feb-15 11:52 
GeneralRe: Unicode and codeproject article Pin
Richard MacCutchan28-Feb-15 21:22
protectorRichard MacCutchan28-Feb-15 21:22 

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.