Click here to Skip to main content
15,884,960 members
Home / Discussions / COM
   

COM

 
AnswerRe: Run Only One Instance Of AddOn In Multiple IE Win Pin
KarstenK24-Feb-10 3:40
mveKarstenK24-Feb-10 3:40 
AnswerRe: Run Only One Instance Of AddOn In Multiple IE Win Pin
R@jeev K R7-Mar-10 19:43
R@jeev K R7-Mar-10 19:43 
Questioncom memory management Pin
ramina sen23-Feb-10 21:15
ramina sen23-Feb-10 21:15 
AnswerRe: com memory management Pin
Richard MacCutchan23-Feb-10 22:00
mveRichard MacCutchan23-Feb-10 22:00 
AnswerRe: com memory management Pin
KarstenK24-Feb-10 4:20
mveKarstenK24-Feb-10 4:20 
QuestionFew basics about COM Pin
tasumisra21-Feb-10 18:09
tasumisra21-Feb-10 18:09 
AnswerRe: Few basics about COM Pin
Richard MacCutchan21-Feb-10 21:55
mveRichard MacCutchan21-Feb-10 21:55 
Questionhandle DISPID_NEWWINDOW2 or 3 Pin
rustok19-Feb-10 21:46
rustok19-Feb-10 21:46 
Hi all. Show me, please, how to handle this event, to the link opened in same window.
In msdn says that must be replaced by a pointer to IDispatch, but it does not work.
VARIANT * v = &pDispParams->rgvarg[1];

if (v->vt == (VT_BYREF | VT_VARIANT)) v = v->pvarVal; // v->vt == (VT_BYREF | VT_VARIANT)

IDispatch* *pdisp = 0;
if ((v->vt & VT_TYPEMASK) == VT_DISPATCH){ // v->vt == (VT_BYREF | VT_VARIANT)

    pdisp = (v->vt & VT_BYREF) ? v->ppdispVal : & (v->pdispVal);
    if (pdisp[0] != NULL){ // == 0
        pdisp[0]->Release();
    }
    g_pSite->get_Application(pdisp); // IWebBrowser2* g_pSite 
}

Values that come - commented out. What am I doing wrong? Why not this work? How can I solve this problem?
In handler DISPID_NEWWINDOW3 event comes value URL of the new windows, but don't comes other values needed for navigate2, therefore, this solution does not suit me.

Sorry for my english. Smile | :)
AnswerRe: handle DISPID_NEWWINDOW2 or 3 Pin
0day7-Mar-10 21:46
0day7-Mar-10 21:46 
QuestionCOM objects to capture screen Pin
Alexandr Kucher18-Feb-10 9:26
Alexandr Kucher18-Feb-10 9:26 
AnswerRe: COM objects to capture screen Pin
«_Superman_»18-Feb-10 18:10
professional«_Superman_»18-Feb-10 18:10 
GeneralRe: COM objects to capture screen Pin
Alexandr Kucher19-Feb-10 1:27
Alexandr Kucher19-Feb-10 1:27 
QuestionProblem in Using the Custom made OCX Pin
quantimizer18-Feb-10 3:35
quantimizer18-Feb-10 3:35 
AnswerRe: Problem in Using the Custom made OCX Pin
Jonathan Davies18-Feb-10 5:51
Jonathan Davies18-Feb-10 5:51 
Questionaccessing a com from remote machine Pin
tasumisra18-Feb-10 0:53
tasumisra18-Feb-10 0:53 
AnswerRe: accessing a com from remote machine Pin
quantimizer18-Feb-10 3:40
quantimizer18-Feb-10 3:40 
AnswerRe: accessing a com from remote machine Pin
quantimizer18-Feb-10 17:49
quantimizer18-Feb-10 17:49 
GeneralRe: accessing a com from remote machine Pin
tasumisra18-Feb-10 18:35
tasumisra18-Feb-10 18:35 
QuestionHelp in presentation Pin
tasumisra16-Feb-10 18:28
tasumisra16-Feb-10 18:28 
AnswerRe: Help in presentation Pin
Richard MacCutchan16-Feb-10 19:28
mveRichard MacCutchan16-Feb-10 19:28 
QuestionNeed help to solve issue with COM interface Pin
sukumarvenkata16-Feb-10 3:28
sukumarvenkata16-Feb-10 3:28 
AnswerRe: Need help to solve issue with COM interface Pin
Jonathan Davies16-Feb-10 12:21
Jonathan Davies16-Feb-10 12:21 
AnswerRe: Need help to solve issue with COM interface Pin
KingsGambit16-Feb-10 19:14
KingsGambit16-Feb-10 19:14 
AnswerRe: Need help to solve issue with COM interface Pin
Roger Stoltz16-Feb-10 22:03
Roger Stoltz16-Feb-10 22:03 
QuestionHow to compile COM components in Visual Studio(2010).NET written in VC6.0 OR Visual Studio.NET(2003)[modified] Pin
glitteringsound16-Feb-10 1:24
glitteringsound16-Feb-10 1:24 

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.