Click here to Skip to main content
15,909,953 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow to watch the objects value in a STL container in VS2003? Such as Vector Pin
Best Kiluyar21-Dec-06 16:07
Best Kiluyar21-Dec-06 16:07 
AnswerRe: How to watch the objects value in a STL container in VS2003? Such as Vector Pin
Stuart Dootson21-Dec-06 20:42
professionalStuart Dootson21-Dec-06 20:42 
GeneralRe: How to watch the objects value in a STL container in VS2003? Such as Vector Pin
Rob Caldecott21-Dec-06 22:31
Rob Caldecott21-Dec-06 22:31 
GeneralRe: How to watch the objects value in a STL container in VS2003? Such as Vector Pin
Stuart Dootson22-Dec-06 0:16
professionalStuart Dootson22-Dec-06 0:16 
QuestionVery Urgent:Overriding Idispatch Invoke Pin
rana7420-Dec-06 23:19
rana7420-Dec-06 23:19 
AnswerRe: Very Urgent:Overriding Idispatch Invoke Pin
prasad_som21-Dec-06 0:06
prasad_som21-Dec-06 0:06 
QuestionCommandbarCtrl crashes on constrctor at Run-time Pin
Daniel Ortega20-Dec-06 22:59
Daniel Ortega20-Dec-06 22:59 
QuestionATL Dialog help Pin
jhinze19-Dec-06 4:13
jhinze19-Dec-06 4:13 
I've got myself into a bit of a pickle.

Visual Studio 6, I have an ATL DLL that uses dialogs (ATL Dialog object). On one dialog, I have a combo box I'm trying to populate using AddString.

In InitDialog I attempt to get a pointer to the combo box:
CComboBox* pComboBox = (CComboBox*)(GetDlgItem(IDC_COMBO1));

This returns a valid pointer from what I can tell.

Then, calling pComboBox->AddString("Test"); throws a debug assertion failure, I beleive GetDlgItem is returning an invalid window handle (the assertion line failure is ASSERT(::IsWindow(m_hWnd));

I'm relatively new to ATL, so I'm sure it's my lack of understanding. Can anyone point me in the right direction please?
AnswerRe: ATL Dialog help Pin
Michael Dunn19-Dec-06 8:02
sitebuilderMichael Dunn19-Dec-06 8:02 
GeneralRe: ATL Dialog help Pin
jhinze19-Dec-06 8:03
jhinze19-Dec-06 8:03 
GeneralRe: ATL Dialog help Pin
Michael Dunn19-Dec-06 9:44
sitebuilderMichael Dunn19-Dec-06 9:44 
AnswerRe: ATL Dialog help Pin
prasad_som19-Dec-06 17:48
prasad_som19-Dec-06 17:48 
GeneralRe: ATL Dialog help Pin
Steve S20-Dec-06 2:52
Steve S20-Dec-06 2:52 
AnswerRe: ATL Dialog help Pin
prasad_som20-Dec-06 17:57
prasad_som20-Dec-06 17:57 
GeneralRe: ATL Dialog help Pin
jhinze20-Dec-06 20:12
jhinze20-Dec-06 20:12 
AnswerRe: ATL Dialog help Pin
itman_shiyong21-Dec-06 14:06
itman_shiyong21-Dec-06 14:06 
QuestionLogging as windows system account Pin
rana7418-Dec-06 17:55
rana7418-Dec-06 17:55 
AnswerRe: Logging as windows system account Pin
led mike19-Dec-06 4:52
led mike19-Dec-06 4:52 
Questionhuffman code Pin
hamzeee18-Dec-06 11:32
hamzeee18-Dec-06 11:32 
AnswerRe: huffman code Pin
Paul Conrad27-Dec-06 18:23
professionalPaul Conrad27-Dec-06 18:23 
QuestionProject Runtime Library Option Pin
ajitatif angajetor18-Dec-06 1:12
ajitatif angajetor18-Dec-06 1:12 
AnswerRe: Project Runtime Library Option Pin
Michael Dunn18-Dec-06 6:47
sitebuilderMichael Dunn18-Dec-06 6:47 
AnswerRe: Project Runtime Library Option Pin
ajitatif angajetor19-Dec-06 23:12
ajitatif angajetor19-Dec-06 23:12 
GeneralRe: Project Runtime Library Option Pin
Stuart Dootson19-Dec-06 23:32
professionalStuart Dootson19-Dec-06 23:32 
QuestionIHTMLLocation, hr = 0x80040154 Pin
Jeffrey Walton17-Dec-06 22:31
Jeffrey Walton17-Dec-06 22:31 

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.