Click here to Skip to main content
16,009,144 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: directshow:question about deadlock... Pin
Anonymous11-Jul-05 17:25
Anonymous11-Jul-05 17:25 
GeneralI got it! Pin
stephen_young13-Jul-05 15:28
stephen_young13-Jul-05 15:28 
GeneralEdit Control Question Pin
CNewbie9-Jul-05 17:07
CNewbie9-Jul-05 17:07 
GeneralRe: Edit Control Question Pin
ddmcr9-Jul-05 23:53
ddmcr9-Jul-05 23:53 
GeneralWebbrowser headers Pin
paramecula9-Jul-05 13:48
paramecula9-Jul-05 13:48 
Generalwriting text files Pin
locoone9-Jul-05 11:28
locoone9-Jul-05 11:28 
GeneralRe: writing text files Pin
Martial Spirit9-Jul-05 14:39
Martial Spirit9-Jul-05 14:39 
GeneralDialog opens properly in winxp, but Freezes in win98se Pin
9-Jul-05 8:44
suss9-Jul-05 8:44 
"MyDlg" is a dialog class derived from CDialog
"pg_price" is a derived CPropertyPage

on pressing a button pg_price(derived from CPropertyPage), domodal is called

void pg_price::OnBUTTON() <br />
{<br />
	MyDlg MyDlg_obj;<br />
	MyDlg_obj.DoModal();<br />
}


OnInitDialog of MyDlg (derived from CDialog):
BOOL MyDlg::OnInitDialog() <br />
{<br />
	CDialog::OnInitDialog();<br />
	return TRUE;  // return TRUE unless you set the focus to a control<br />
	              // EXCEPTION: OCX Property Pages should return FALSE<br />
}


now, the problem is that on winxp there isnt any problem. MyDlg_obj.DoModal(); displays the resource of MyDlg

but on win98se, the whole application hangs and become non-responsive upon clicking the button
MyDlg never appeared

so i ran a debugger and found out that the application has no problem running up to "BOOL MyDlg::OnInitDialog()" and returns it without any problem. I hit "f5" again and the application hangs. no assert/buffer overflow problems error messages were given, the whole application simply hangs there. i believe that's because the user interface thread got into something it cant get out of

doing a "step over" on the debugger i got the following
http://img182.imageshack.us/img182/7687/step4em.gif

i really got no idea how this happened
how is it possible that this app works well on winxp but not win98se?
i need that application on win98se platform

using vc++6.0 SP6
win98se/winxp

please assist
GeneralRe: Dialog opens properly in winxp, but Freezes in win98se Pin
awah9-Jul-05 19:14
awah9-Jul-05 19:14 
GeneralRe: Dialog opens properly in winxp, but Freezes in win98se Pin
Blake V. Miller10-Jul-05 19:09
Blake V. Miller10-Jul-05 19:09 
Questionhow to export dialog class from dll, and ...? Pin
Martial Spirit9-Jul-05 8:20
Martial Spirit9-Jul-05 8:20 
AnswerRe: how to export dialog class from dll, and ...? Pin
Martial Spirit10-Jul-05 0:00
Martial Spirit10-Jul-05 0:00 
AnswerRe: how to export dialog class from dll, and ...? Pin
Alexander M.,10-Jul-05 3:50
Alexander M.,10-Jul-05 3:50 
Generalhelp Pin
_tasleem9-Jul-05 3:55
_tasleem9-Jul-05 3:55 
QuestionDebugging EIP = 00000000 crashes ?? Pin
mnelles9-Jul-05 3:20
mnelles9-Jul-05 3:20 
AnswerRe: Debugging EIP = 00000000 crashes ?? Pin
Alexander M.,9-Jul-05 4:45
Alexander M.,9-Jul-05 4:45 
GeneralRe: Debugging EIP = 00000000 crashes ?? Pin
Toby Opferman10-Jul-05 15:53
Toby Opferman10-Jul-05 15:53 
GeneralRe: Debugging EIP = 00000000 crashes ?? Pin
Toby Opferman10-Jul-05 16:07
Toby Opferman10-Jul-05 16:07 
GeneralCreating Setup Projects And Adding Merge Modules Pin
ugur_basak9-Jul-05 2:52
ugur_basak9-Jul-05 2:52 
GeneralRe: Creating Setup Projects And Adding Merge Modules Pin
squidev9-Jul-05 5:04
squidev9-Jul-05 5:04 
GeneralCHtmlView Question Pin
Abhishek Narula9-Jul-05 1:26
Abhishek Narula9-Jul-05 1:26 
GeneralRe: CHtmlView Question Pin
Sheng Jiang 蒋晟10-Jul-05 14:13
Sheng Jiang 蒋晟10-Jul-05 14:13 
GeneralRe: CHtmlView Question Pin
Abhishek Narula10-Jul-05 19:58
Abhishek Narula10-Jul-05 19:58 
GeneralRe: CHtmlView Question Pin
Sheng Jiang 蒋晟11-Jul-05 7:10
Sheng Jiang 蒋晟11-Jul-05 7:10 
Questionhow to Ensure my program works across platforms? Pin
awah8-Jul-05 23:31
awah8-Jul-05 23: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.