Click here to Skip to main content
15,894,405 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Is it common for implementation in .h files? Pin
Tim Smith17-Feb-03 2:08
Tim Smith17-Feb-03 2:08 
GeneralInvalidCastException from remote object that use COM Pin
itay_k16-Feb-03 4:48
itay_k16-Feb-03 4:48 
GeneralQuestion about bind2nd. Pin
George214-Feb-03 20:04
George214-Feb-03 20:04 
GeneralRe: Question about bind2nd. Pin
AlexO15-Feb-03 5:43
AlexO15-Feb-03 5:43 
GeneralRe: Question about bind2nd. Pin
George215-Feb-03 17:04
George215-Feb-03 17:04 
GeneralIClassFactory2 Pin
Raphael Amorim14-Feb-03 4:00
professionalRaphael Amorim14-Feb-03 4:00 
QuestionIDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 1:35
Zizilamoroso14-Feb-03 1:35 
AnswerRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 2:37
geo_m14-Feb-03 2:37 
It is easily possible. I never tried it on IWebBrowser2, but it should work on any IDispatch derived interface.
For your GetIDsOfNames, you have to check, if all flags was set properly.
Anyway, there is a helper classes in ATL to doing dispatch calls, if you don't want to program it yourself as a mental excersise.

CComDispatchDriver dispDrv( ipDispInterface );<br />
<br />
// put property value<br />
dispDrv.PutPropertyByName( bstrName, &variantValue );<br />
// calling a function<br />
dispDrv.Invoke0( bstrName, NULL );

etc...
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 4:06
Zizilamoroso14-Feb-03 4:06 
GeneralRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 4:27
geo_m14-Feb-03 4:27 
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 4:54
Zizilamoroso14-Feb-03 4:54 
GeneralRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 5:14
geo_m14-Feb-03 5:14 
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 6:01
Zizilamoroso14-Feb-03 6:01 
GeneralRe: IDispatch from atl-control??? Pin
Zizilamoroso14-Feb-03 6:28
Zizilamoroso14-Feb-03 6:28 
GeneralRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 10:55
geo_m14-Feb-03 10:55 
GeneralQuestion about uninitialized memory. Pin
George214-Feb-03 1:03
George214-Feb-03 1:03 
GeneralRe: Question about uninitialized memory. Pin
Tim Smith14-Feb-03 2:19
Tim Smith14-Feb-03 2:19 
GeneralRe: Question about uninitialized memory. Pin
George214-Feb-03 2:27
George214-Feb-03 2:27 
GeneralRe: Question about uninitialized memory. Pin
Tim Smith14-Feb-03 3:20
Tim Smith14-Feb-03 3:20 
GeneralRe: Question about uninitialized memory. Pin
George214-Feb-03 3:24
George214-Feb-03 3:24 
GeneralRe: Question about uninitialized memory. Pin
Joaquín M López Muñoz14-Feb-03 4:16
Joaquín M López Muñoz14-Feb-03 4:16 
GeneralRe: Question about uninitialized memory. Pin
Tim Smith14-Feb-03 7:03
Tim Smith14-Feb-03 7:03 
GeneralRe: Question about uninitialized memory. Pin
George214-Feb-03 17:17
George214-Feb-03 17:17 
GeneralRe: Question about uninitialized memory. Pin
George214-Feb-03 17:16
George214-Feb-03 17:16 
GeneralProblems with HTMLElementEvents2 Pin
Xavyer13-Feb-03 2:23
Xavyer13-Feb-03 2:23 

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.