Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with RegOpenKeyEx() in Vista Pin
Aryan S4-Dec-06 2:29
Aryan S4-Dec-06 2:29 
AnswerRe: Problem with RegOpenKeyEx() in Vista Pin
S Douglas4-Dec-06 19:54
professionalS Douglas4-Dec-06 19:54 
QuestionProblem with template functions in VC++ 6.0 [modified] Pin
BadJerry4-Dec-06 0:30
BadJerry4-Dec-06 0:30 
AnswerRe: Problem with template functions in VC++ 6.0 Pin
Cedric Moonen4-Dec-06 2:33
Cedric Moonen4-Dec-06 2:33 
GeneralRe: Problem with template functions in VC++ 6.0 Pin
BadJerry4-Dec-06 2:59
BadJerry4-Dec-06 2:59 
GeneralRe: Problem with template functions in VC++ 6.0 Pin
Cedric Moonen4-Dec-06 3:10
Cedric Moonen4-Dec-06 3:10 
GeneralRe: Problem with template functions in VC++ 6.0 Pin
BadJerry4-Dec-06 3:16
BadJerry4-Dec-06 3:16 
GeneralRe: Problem with template functions in VC++ 6.0 Pin
Cedric Moonen4-Dec-06 3:24
Cedric Moonen4-Dec-06 3:24 
I see. But I still don't understand what you are trying to do.

You posted this code:
ClearPtrArray< askia_wave::CVersion > (m_rgVersions);
ClearPtrArray(m_rgQuestionClasses);
ClearPtrArray(m_rgLanguages);
ClearPtrArray(m_rgModalities);
ClearPtrArray< askia_wave::CQuestion >(m_rgQuestions);
ClearPtrArray(m_rgWaves);


Can you show the definition of m_rgVersions, m_rgQuestionClasses, m_rgLanguages, ... ?

I suppose they are all of type std::vector<void*> (I just guess, because otherwise the code won't compile I think).

But then my question: why don't you use vector in the standard way ? So, store the pointers to your class and not a simple void pointer ?


Cédric Moonen
Software developer

Charting control [v1.1]

GeneralRe: Problem with template functions in VC++ 6.0 Pin
BadJerry4-Dec-06 3:36
BadJerry4-Dec-06 3:36 
QuestionHow i can create file.. Pin
Shah Satish4-Dec-06 0:30
Shah Satish4-Dec-06 0:30 
AnswerRe: How i can create file.. Pin
BadJerry4-Dec-06 1:28
BadJerry4-Dec-06 1:28 
GeneralRe: How i can create file.. Pin
Shah Satish4-Dec-06 4:34
Shah Satish4-Dec-06 4:34 
AnswerRe: How i can create file.. [modified] Pin
Frank K4-Dec-06 1:34
Frank K4-Dec-06 1:34 
GeneralRe: How i can create file.. Pin
Shah Satish4-Dec-06 4:35
Shah Satish4-Dec-06 4:35 
AnswerRe: How i can create file.. Pin
Hamid_RT4-Dec-06 3:36
Hamid_RT4-Dec-06 3:36 
GeneralRe: How i can create file.. Pin
Shah Satish4-Dec-06 4:54
Shah Satish4-Dec-06 4:54 
AnswerRe: How i can create file.. Pin
S Douglas4-Dec-06 20:09
professionalS Douglas4-Dec-06 20:09 
AnswerRe: How i can create file.. Pin
ThatsAlok4-Dec-06 21:50
ThatsAlok4-Dec-06 21:50 
QuestionIgnore mouse event Pin
Haribaskar4-Dec-06 0:20
Haribaskar4-Dec-06 0:20 
AnswerRe: Ignore mouse event Pin
BadJerry4-Dec-06 0:36
BadJerry4-Dec-06 0:36 
AnswerRe: Ignore mouse event Pin
Naveen4-Dec-06 1:09
Naveen4-Dec-06 1:09 
AnswerRe: Ignore mouse event Pin
ThatsAlok4-Dec-06 21:47
ThatsAlok4-Dec-06 21:47 
QuestionPrinting to Dot-Matrix Printer Pin
pclouw4-Dec-06 0:13
pclouw4-Dec-06 0:13 
AnswerRe: Printing to Dot-Matrix Printer Pin
David Crow4-Dec-06 4:52
David Crow4-Dec-06 4:52 
QuestionDoubt related to MAC & IP Address Pin
Aji V Nair4-Dec-06 0:12
Aji V Nair4-Dec-06 0:12 

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.