Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Winhelp vs. HTML help context Pin
Gary R. Wheeler22-Oct-04 14:46
Gary R. Wheeler22-Oct-04 14:46 
GeneralRe: Winhelp vs. HTML help context Pin
digwizfox25-Oct-04 8:12
digwizfox25-Oct-04 8:12 
GeneralRe: Winhelp vs. HTML help context Pin
digwizfox25-Oct-04 13:36
digwizfox25-Oct-04 13:36 
GeneralRe: Winhelp vs. HTML help context Pin
YoSilver22-Oct-04 21:07
YoSilver22-Oct-04 21:07 
Generalplease! help me about antialiasing!!! Pin
Shiwan Sung22-Oct-04 12:37
Shiwan Sung22-Oct-04 12:37 
GeneralRe: please! help me about antialiasing!!! Pin
YoSilver22-Oct-04 21:14
YoSilver22-Oct-04 21:14 
GeneralRe: please! help me about antialiasing!!! Pin
Shiwan Sung22-Oct-04 22:14
Shiwan Sung22-Oct-04 22:14 
GeneralOCX on IE File-> New -> Window Problem Pin
shinay22-Oct-04 9:57
shinay22-Oct-04 9:57 
I just create the text ocx( called testocx.ocx) to load some object.
and load into IE. here is the source for html.
when i click button button it will show message said "OK" but
when I new window (in IE File->New-> Window),
"Error, cannot get dispatch object" message will be shown.
We have the same problem for our company
core program. I put the OCX source(AddObj method) for refrence.

maybe someone can point what is problem.



OCX source*******************************
BOOL CTestocxCtrl::AddObj(LPDISPATCH inserObj)
{
CInsertObj * CCmdTarget pObj = ( CInsertObj *)CCmdTarget::FromIDispatch(
inserObj);
if (!pObj){
AfxMessageBox("Error, cannot get dispatch object");
}
else{
AfxMessageBox("OK");
}
return TRUE;
}

test.html*********************************




<title>












<object id="DTestocx1" style="WIDTH: 354px; HEIGHT: 269px"
classid="clsid:361B6B0E-B8D4-47FD-A373-2F37A801F3CD"><param name="_Version"
value="65536" /><param name="_ExtentX" value="7493" /><param name="_ExtentY"
value="5694" /><param name="_StockProps" value="0" />





GeneralStatic Linking Pin
hyling22-Oct-04 8:59
hyling22-Oct-04 8:59 
GeneralRe: Static Linking Pin
Alexander M.,22-Oct-04 10:10
Alexander M.,22-Oct-04 10:10 
GeneralRe: Static Linking Pin
Michael Dunn22-Oct-04 13:52
sitebuilderMichael Dunn22-Oct-04 13:52 
GeneralRe: Static Linking Pin
hyling23-Oct-04 7:34
hyling23-Oct-04 7:34 
GeneralRe: Static Linking Pin
Uwe Keim23-Oct-04 4:56
sitebuilderUwe Keim23-Oct-04 4:56 
GeneralRe: Static Linking Pin
hyling23-Oct-04 7:33
hyling23-Oct-04 7:33 
GeneralRemote Office Automation Pin
Malcolm Smart22-Oct-04 8:50
Malcolm Smart22-Oct-04 8:50 
GeneralRe: Remote Office Automation Pin
Michael P Butler23-Oct-04 9:00
Michael P Butler23-Oct-04 9:00 
GeneralTroubling creating object Pin
AmorphousP22-Oct-04 7:04
AmorphousP22-Oct-04 7:04 
GeneralRe: Troubling creating object Pin
David Crow22-Oct-04 7:40
David Crow22-Oct-04 7:40 
GeneralRe: Troubling creating object Pin
AmorphousP22-Oct-04 9:37
AmorphousP22-Oct-04 9:37 
GeneralRe: Troubling creating object Pin
Maximilien22-Oct-04 9:51
Maximilien22-Oct-04 9:51 
GeneralRe: Troubling creating object Pin
AmorphousP22-Oct-04 10:34
AmorphousP22-Oct-04 10:34 
GeneralRe: Troubling creating object Pin
David Crow22-Oct-04 9:53
David Crow22-Oct-04 9:53 
GeneralRe: Troubling creating object Pin
AmorphousP22-Oct-04 10:29
AmorphousP22-Oct-04 10:29 
GeneralRe: Troubling creating object Pin
dharani26-Oct-04 22:44
dharani26-Oct-04 22:44 
GeneralRe: Troubling creating object Pin
AmorphousP27-Oct-04 9:51
AmorphousP27-Oct-04 9:51 

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.