Click here to Skip to main content
15,913,090 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionWin98 GetMenuItemCount returns -1 Pin
ajitatif angajetor26-Dec-06 4:59
ajitatif angajetor26-Dec-06 4:59 
QuestionRe: Win98 GetMenuItemCount returns -1 Pin
ajitatif angajetor27-Dec-06 0:39
ajitatif angajetor27-Dec-06 0:39 
QuestionATL event help!! Pin
alicqin24-Dec-06 22:45
alicqin24-Dec-06 22:45 
QuestionHow to watch the objects value in a STL container in VS2003? Such as Vector Pin
Best Kiluyar21-Dec-06 16:07
Best Kiluyar21-Dec-06 16:07 
AnswerRe: How to watch the objects value in a STL container in VS2003? Such as Vector Pin
Stuart Dootson21-Dec-06 20:42
professionalStuart Dootson21-Dec-06 20:42 
GeneralRe: How to watch the objects value in a STL container in VS2003? Such as Vector Pin
Rob Caldecott21-Dec-06 22:31
Rob Caldecott21-Dec-06 22:31 
GeneralRe: How to watch the objects value in a STL container in VS2003? Such as Vector Pin
Stuart Dootson22-Dec-06 0:16
professionalStuart Dootson22-Dec-06 0:16 
QuestionVery Urgent:Overriding Idispatch Invoke Pin
rana7420-Dec-06 23:19
rana7420-Dec-06 23:19 
We have an ATL object with dual interface type.The interface definition fron the IDL file:
interface IEventSink : IDispatch{
[id(1), helpstring("method testmethod")] HRESULT testmethod(void);
[propput, id(2), helpstring("property ondataavailable")] HRESULT ondataavailable([in] IDispatch* newVal);
};

We invoke the object from javascript as follows:
var esink=new ActiveXObject("IEBrowserSink.EventSink");
esink.testmethod();
esink.ondataavailable=invokecallback;

It works fine;
Now i oveeride the Invoke method in the header file:

STDMETHOD(Invoke)(DISPID dispidMember,REFIID riid, LCID lcid, WORD wFlags,DISPPARAMS * pdispparams, VARIANT * pvarResult,EXCEPINFO * pexcepinfo, UINT * puArgErr)
{
......
return S_OK;
}

After this the calls to the 'testmethod' and 'ondataavilable' from javascript do not go through?
There are no exceptions but the scripts seems to skip these methods.What is wrong?
Are any changes requied in the idl?
AnswerRe: Very Urgent:Overriding Idispatch Invoke Pin
prasad_som21-Dec-06 0:06
prasad_som21-Dec-06 0:06 
QuestionCommandbarCtrl crashes on constrctor at Run-time Pin
Daniel Ortega20-Dec-06 22:59
Daniel Ortega20-Dec-06 22:59 
QuestionATL Dialog help Pin
jhinze19-Dec-06 4:13
jhinze19-Dec-06 4:13 
AnswerRe: ATL Dialog help Pin
Michael Dunn19-Dec-06 8:02
sitebuilderMichael Dunn19-Dec-06 8:02 
GeneralRe: ATL Dialog help Pin
jhinze19-Dec-06 8:03
jhinze19-Dec-06 8:03 
GeneralRe: ATL Dialog help Pin
Michael Dunn19-Dec-06 9:44
sitebuilderMichael Dunn19-Dec-06 9:44 
AnswerRe: ATL Dialog help Pin
prasad_som19-Dec-06 17:48
prasad_som19-Dec-06 17:48 
GeneralRe: ATL Dialog help Pin
Steve S20-Dec-06 2:52
Steve S20-Dec-06 2:52 
AnswerRe: ATL Dialog help Pin
prasad_som20-Dec-06 17:57
prasad_som20-Dec-06 17:57 
GeneralRe: ATL Dialog help Pin
jhinze20-Dec-06 20:12
jhinze20-Dec-06 20:12 
AnswerRe: ATL Dialog help Pin
itman_shiyong21-Dec-06 14:06
itman_shiyong21-Dec-06 14:06 
QuestionLogging as windows system account Pin
rana7418-Dec-06 17:55
rana7418-Dec-06 17:55 
AnswerRe: Logging as windows system account Pin
led mike19-Dec-06 4:52
led mike19-Dec-06 4:52 
Questionhuffman code Pin
hamzeee18-Dec-06 11:32
hamzeee18-Dec-06 11:32 
AnswerRe: huffman code Pin
Paul Conrad27-Dec-06 18:23
professionalPaul Conrad27-Dec-06 18:23 
QuestionProject Runtime Library Option Pin
ajitatif angajetor18-Dec-06 1:12
ajitatif angajetor18-Dec-06 1:12 
AnswerRe: Project Runtime Library Option Pin
Michael Dunn18-Dec-06 6:47
sitebuilderMichael Dunn18-Dec-06 6:47 

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.