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

ATL / WTL / STL

 
AnswerRe: IDispatch from atl-control??? Pin
geo_m14-Feb-03 2:37
geo_m14-Feb-03 2:37 
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 
Well, honestly I have nearly no idea, where the problem can be. Theoretically there can be problems with defining the LOCALE_USER_DEFAULT in the GetIDsOfNames selecting some other language for dispatch, but I do not believe, that someone uses that in real work Wink | ;) , therefore I would assume this parameter is normally ignored.

Also I would check the code on another machine, if there is not a problem with instalation.

Anyway for your reference - in my project, where the get/put visible works, I am inicializing the WebBrowser control by following sequence:

HWND hWT = m_iewnd.Create( m_hWnd, rc, NULL, WS_CHILD + WS_VISIBLE  );<br />
<br />
m_iewnd.CreateControl( "file://somewhere.htm" );<br />
<br />
// get the interface<br />
m_iewnd.QueryControl( &m_spBrowser );<br />
m_iewnd.SetExternalDispatch( (IDispatch*)this );<br />
<br />
CComDispatchDriver drv( m_spBrowser );<br />
_variant_t vtOut;<br />
drv.GetPropertyByName( L"visible", &vtOut );<br />
<br />

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 
GeneralRe: Problems with HTMLElementEvents2 Pin
stereo16-Feb-03 5:57
stereo16-Feb-03 5:57 
GeneralRe: Problems with HTMLElementEvents2 Pin
Xavyer16-Feb-03 8:04
Xavyer16-Feb-03 8:04 
GeneralQuestion about allocate of STL. Pin
George213-Feb-03 1:55
George213-Feb-03 1:55 
GeneralRe: Question about allocate of STL. Pin
markkuk13-Feb-03 2:24
markkuk13-Feb-03 2:24 
GeneralSinking events... Pin
LukeV12-Feb-03 3:25
LukeV12-Feb-03 3:25 
GeneralRe: Sinking events... Pin
LukeV12-Feb-03 4:37
LukeV12-Feb-03 4:37 
GeneralRe: Sinking events... Pin
LukeV12-Feb-03 11:45
LukeV12-Feb-03 11:45 

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.