Click here to Skip to main content
15,899,754 members
Home / Discussions / COM
   

COM

 
QuestionRegarding Adding a Decoder Filter Pin
Raja Bose C Leo20-May-07 21:53
Raja Bose C Leo20-May-07 21:53 
QuestionWord.Documents.Open( ) not working at Windows 2000 Pin
cindy02320-May-07 17:08
cindy02320-May-07 17:08 
QuestionUsing same COM instance with multiple client ? Pin
achainard18-May-07 5:57
achainard18-May-07 5:57 
AnswerRe: Using same COM instance with multiple client ? Pin
CPallini18-May-07 10:20
mveCPallini18-May-07 10:20 
QuestionRe: Using same COM instance with multiple client ? [modified] Pin
achainard19-May-07 5:03
achainard19-May-07 5:03 
AnswerRe: Using same COM instance with multiple client ? Pin
Flame11325-May-07 15:03
Flame11325-May-07 15:03 
GeneralRe: Using same COM instance with multiple client ? Pin
achainard25-May-07 20:22
achainard25-May-07 20:22 
Questioncan i customize webbrowser in my own ocx? [modified] Pin
XPointer18-May-07 0:15
XPointer18-May-07 0:15 
i wanna customize webbrowser in my own ocx(mfc activex),
according to Sumit Kapoor's method(plz see,
Customize Web Browser ActiveX and change its inbuilt settings[^]

i add
CCustomOccManager *pMgr = new CCustomOccManager;
// Create an IDispatch class for extending the Dynamic HTML Object Model
m_pDispOM = new CImpIDispatch;
AfxEnableControlContainer(pMgr); 
into ocx's InitInstance, and implement the IDropTarget interface,now i want to do something in Drop() function,i wanna get the point of the main ocx ctrl through AfxGetMainWnd(),,of course i got the point,and could get the member webbrowser which had been capsulated in the ocx control,hereto,everything is ok,then i call the webbrowser's method through formmer point,(eg
CMyCtrl* pWnd = (CMyCtrl*)AfxGetMainWnd();
pWnd->m_ctrlWeb.Image(strImage);

),
here problem comes,
if (S_OK == m_pCmdTarg->QueryStatus(&CGID_MSHTML, 1, &ocmd, NULL))
		return ocmd.cmdf;,

and error msg is:

First-chance exception in ViewTest.exe (MyControl.OCX): 0xC0000005: Access Violation.
what is the meaning? help!?
thanks!


-- modified at 6:41 Friday 18th May, 2007
AnswerRe: can i customize webbrowser in my own ocx? Pin
prasad_som18-May-07 0:53
prasad_som18-May-07 0:53 
GeneralRe: can i customize webbrowser in my own ocx? Pin
XPointer18-May-07 1:00
XPointer18-May-07 1:00 
AnswerRe: can i customize webbrowser in my own ocx? Pin
prasad_som18-May-07 2:07
prasad_som18-May-07 2:07 
GeneralRe: can i customize webbrowser in my own ocx? Pin
XPointer18-May-07 2:14
XPointer18-May-07 2:14 
AnswerRe: can i customize webbrowser in my own ocx? Pin
prasad_som18-May-07 2:19
prasad_som18-May-07 2:19 
GeneralRe: can i customize webbrowser in my own ocx? Pin
XPointer18-May-07 2:34
XPointer18-May-07 2:34 
AnswerRe: can i customize webbrowser in my own ocx? Pin
prasad_som18-May-07 2:43
prasad_som18-May-07 2:43 
GeneralRe: can i customize webbrowser in my own ocx? Pin
XPointer18-May-07 3:24
XPointer18-May-07 3:24 
QuestionRe: can i customize webbrowser in my own ocx? Pin
XPointer18-May-07 1:26
XPointer18-May-07 1:26 
QuestionImplementing more than one interfaces in same coclass Pin
georgekjolly17-May-07 22:29
georgekjolly17-May-07 22:29 
AnswerRe: Implementing more than one interfaces in same coclass Pin
Roger Stoltz18-May-07 2:09
Roger Stoltz18-May-07 2:09 
GeneralRe: Implementing more than one interfaces in same coclass Pin
georgekjolly20-May-07 18:17
georgekjolly20-May-07 18:17 
QuestionCom Redirection Pin
Nawal K Gupta17-May-07 21:50
Nawal K Gupta17-May-07 21:50 
AnswerRe: Com Redirection Pin
Mike Dimmick18-May-07 4:52
Mike Dimmick18-May-07 4:52 
QuestionHope to use C# for ActiveX in Excel VBA. Success to call as COM, but fail to add the control from "Control Toolbox" as ActiveX Pin
C# User K17-May-07 21:43
C# User K17-May-07 21:43 
Questionformview and dataset Pin
aitch4217-May-07 18:54
aitch4217-May-07 18:54 
AnswerTry to post the question to the right forum Pin
CPallini17-May-07 20:43
mveCPallini17-May-07 20:43 

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.