Click here to Skip to main content
15,905,686 members
Home / Discussions / COM
   

COM

 
GeneralRe: CoUninitialize causes access violation Pin
sagmam12-Nov-03 23:06
sagmam12-Nov-03 23:06 
GeneralRe: CoUninitialize causes access violation Pin
geo_m14-Nov-03 8:00
geo_m14-Nov-03 8:00 
GeneralRe: CoUninitialize causes access violation Pin
yitzhak12-Nov-03 23:09
yitzhak12-Nov-03 23:09 
GeneralRe: CoUninitialize causes access violation Pin
Prakash Nadar14-Nov-03 3:09
Prakash Nadar14-Nov-03 3:09 
QuestionCCW viable for ADO.NET access? Pin
DavidQR11-Nov-03 22:59
DavidQR11-Nov-03 22:59 
AnswerRe: CCW viable for ADO.NET access? Pin
Nick Parker17-Nov-03 17:24
protectorNick Parker17-Nov-03 17:24 
AnswerRe: CCW viable for ADO.NET access? Pin
Nick Parker17-Nov-03 17:25
protectorNick Parker17-Nov-03 17:25 
GeneralhWnd in COM Question. Pin
Matt Gates11-Nov-03 15:24
Matt Gates11-Nov-03 15:24 
I am stumbling my way through COM and have hit a snag. I can get a MessageBox to work from a call to my component but I cannot get a CDialog derived class to display. Every thing runs fine but the CDialog derived class has hWnd=0xcccccccc which means nothing happens when I call DoModal(). I am using a MFC extension dll to serve up the components. What gives? Thanks for your time.



void __stdcall CMattDlgCmpnt::SimpleMsgBox( HWND wndParent, BSTR strmsg )<br />
{<br />
	...<br />
//This Works<br />
	MessageBox ( wndParent, strTxt, _T("Simple Message Box"), MB_OK );<br />
	return;<br />
}<br />
<br />
void __stdcall CMattDlgCmpnt::HtmlMsgBox( HWND wndParent, BSTR strmsg )<br />
{<br />
<br />
	CNormalDlg wndNormalDlg;  //This does not work<br />
	wndNormalDlg.DoModal();  //hWnd=0xcccccccc  Nothing Happens<br />
}


Matt (Padawan Learner)
GeneralRe: hWnd in COM Question. Pin
Heath Stewart11-Nov-03 19:25
protectorHeath Stewart11-Nov-03 19:25 
GeneralRe: hWnd in COM Question. Pin
Matt Gates12-Nov-03 1:39
Matt Gates12-Nov-03 1:39 
GeneralRe: hWnd in COM Question. Pin
Heath Stewart12-Nov-03 3:05
protectorHeath Stewart12-Nov-03 3:05 
GeneralRe: hWnd in COM Question. Pin
Matt Gates12-Nov-03 14:06
Matt Gates12-Nov-03 14:06 
GeneralCAxDialogImpl Pin
Abhishek Srivastava12-Nov-03 17:19
Abhishek Srivastava12-Nov-03 17:19 
GeneralRe: CAxDialogImpl Pin
Matt Gates13-Nov-03 13:25
Matt Gates13-Nov-03 13:25 
GeneralRe: CAxDialogImpl Pin
dharani13-Nov-03 17:12
dharani13-Nov-03 17:12 
GeneralRe: CAxDialogImpl Pin
Abhishek Srivastava13-Nov-03 17:29
Abhishek Srivastava13-Nov-03 17:29 
GeneralRe: CAxDialogImpl Pin
dharani13-Nov-03 17:54
dharani13-Nov-03 17:54 
GeneralRe: CAxDialogImpl Pin
Abhishek Srivastava13-Nov-03 18:36
Abhishek Srivastava13-Nov-03 18:36 
GeneralRe: CAxDialogImpl Pin
dharani13-Nov-03 19:04
dharani13-Nov-03 19:04 
GeneralRe: CAxDialogImpl Pin
Tomaz Rotovnik21-Nov-03 2:42
Tomaz Rotovnik21-Nov-03 2:42 
GeneralRe: hWnd in COM Question. Pin
Heath Stewart13-Nov-03 2:54
protectorHeath Stewart13-Nov-03 2:54 
GeneralRe: hWnd in COM Question. Pin
Prakash Nadar14-Nov-03 3:12
Prakash Nadar14-Nov-03 3:12 
GeneralRe: hWnd in COM Question. Pin
Anonymous17-Nov-03 22:07
Anonymous17-Nov-03 22:07 
GeneralDTE.LaunchWizard() Pin
RockHard PartyNipples11-Nov-03 8:25
RockHard PartyNipples11-Nov-03 8:25 
GeneralIIS mime Type Pin
fenil jacob10-Nov-03 23:38
fenil jacob10-Nov-03 23:38 

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.