Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem with TryEnterCriticalSection Pin
SRKSHOME29-Sep-08 18:30
SRKSHOME29-Sep-08 18:30 
AnswerRe: Problem with TryEnterCriticalSection Pin
ThatsAlok29-Sep-08 22:48
ThatsAlok29-Sep-08 22:48 
AnswerRe: Problem with TryEnterCriticalSection Pin
sashoalm30-Sep-08 0:24
sashoalm30-Sep-08 0:24 
GeneralRe: Problem with TryEnterCriticalSection Pin
krishnan.s30-Sep-08 1:51
krishnan.s30-Sep-08 1:51 
GeneralRe: Problem with TryEnterCriticalSection Pin
sashoalm30-Sep-08 5:52
sashoalm30-Sep-08 5:52 
QuestionQuery reagrding boodt graph library... Pin
raesa29-Sep-08 17:04
raesa29-Sep-08 17:04 
QuestionRe-Posting as Question... Dialog - PropertyPage Problem Pin
Rangarajan Varadan29-Sep-08 4:52
Rangarajan Varadan29-Sep-08 4:52 
AnswerRe: Re-Posting as Question... Dialog - PropertyPage Problem Pin
Iain Clarke, Warrior Programmer29-Sep-08 22:56
Iain Clarke, Warrior Programmer29-Sep-08 22:56 
The details of your current problems can only really be fixed by you and a debugger.

Have a look at the code around the ASSERT - is it complaining that your calling UpdateData on a window that hasn't even been created yet? But if that's true, how can you get a button to be clicked unless it's on a valid window / dialog. Unless you are calling this method manually...

Which you say you are. At what point do you call the above function? Is it's before you have all the windows created, you'll be in trouble.

Etc.

You need to litter your code with breakpoints, and keep a very close eye on the m_hWnd member of your dialog and controls.

Iain.
GeneralRe: Re-Posting as Question... Dialog - PropertyPage Problem Pin
Rangarajan Varadan30-Sep-08 4:01
Rangarajan Varadan30-Sep-08 4:01 
GeneralRe: Re-Posting as Question... Dialog - PropertyPage Problem Pin
Iain Clarke, Warrior Programmer30-Sep-08 4:26
Iain Clarke, Warrior Programmer30-Sep-08 4:26 
QuestionRead leading space from an ini file Pin
Dan Neely29-Sep-08 3:33
Dan Neely29-Sep-08 3:33 
AnswerRe: Read leading space from an ini file Pin
toxcct29-Sep-08 3:44
toxcct29-Sep-08 3:44 
AnswerRe: Read leading space from an ini file Pin
Iain Clarke, Warrior Programmer29-Sep-08 22:58
Iain Clarke, Warrior Programmer29-Sep-08 22:58 
GeneralRe: Read leading space from an ini file Pin
Dan Neely30-Sep-08 10:15
Dan Neely30-Sep-08 10:15 
Questiondll problem Pin
ashishmax4729-Sep-08 2:53
ashishmax4729-Sep-08 2:53 
AnswerRe: dll problem Pin
CPallini29-Sep-08 3:06
mveCPallini29-Sep-08 3:06 
AnswerRe: dll problem Pin
KarstenK29-Sep-08 4:06
mveKarstenK29-Sep-08 4:06 
AnswerRe: dll problem Pin
Alan Balkany29-Sep-08 5:33
Alan Balkany29-Sep-08 5:33 
GeneralRe: dll problem Pin
CPallini29-Sep-08 5:37
mveCPallini29-Sep-08 5:37 
GeneralRe: dll problem Pin
Alan Balkany29-Sep-08 5:44
Alan Balkany29-Sep-08 5:44 
GeneralRe: dll problem Pin
CPallini29-Sep-08 5:56
mveCPallini29-Sep-08 5:56 
GeneralRe: dll problem Pin
Alan Balkany29-Sep-08 7:02
Alan Balkany29-Sep-08 7:02 
QuestionRe: dll problem Pin
CPallini29-Sep-08 7:15
mveCPallini29-Sep-08 7:15 
AnswerRe: dll problem Pin
Peter Weyzen29-Sep-08 18:20
Peter Weyzen29-Sep-08 18:20 
QuestionUnhandled exception at 0x00507ebe in Employee Planner.exe: 0xC0000005: Access violation reading location 0x00000050. Pin
Le@rner29-Sep-08 2:23
Le@rner29-Sep-08 2:23 

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.