Click here to Skip to main content
15,910,009 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionATL event help!! Pin
alicqin24-Dec-06 22:45
alicqin24-Dec-06 22:45 
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 
Hi everyone!

I've got a dialog based app which contains a toolbar with a dropdown button (which displays a popup menu with a few options).
Now I'd like to add some icons to the toolbar's dropdown button. For that, I have created a CommandbarCtrl m_cmdBar member variable to be able to load images on it and then show them on dropdown's button.
Either the Compiler and the Linker go well but at Run-Time I got a crash at the constructor of the CommandbarCtrl. It says that it crashes when EnterCriticalSection(&m_sec) from the CComCriticalSection class at the atlcore.h file.
I don't know what is happening but I have tryed to create the commandbarctrl in different places (inside the member function I need it or as a global reference variable) thinking that it could be caused by an stack overflow but it always crashes at the constructor and gives the same error "entercriticalsection"

Do anyone konw what I'm doing wrong ??? Do I have to do any kinda initialization before using CCommandbarCtrls??

Cheers in advance

Dani.
QuestionATL Dialog help Pin
jhinze19-Dec-06 4:13
jhinze19-Dec-06 4:13 
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 

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.