Click here to Skip to main content
15,927,127 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL help Pin
HENDRIK R20-Jan-03 21:40
HENDRIK R20-Jan-03 21:40 
QuestionTutorial on IE plugin? Pin
boaconstrictor18-Jan-03 7:43
boaconstrictor18-Jan-03 7:43 
AnswerRe: Tutorial on IE plugin? Pin
Neville Franks18-Jan-03 9:20
Neville Franks18-Jan-03 9:20 
AnswerRe: Tutorial on IE plugin? Pin
TigerNinja_18-Jan-03 12:59
TigerNinja_18-Jan-03 12:59 
AnswerRe: Tutorial on IE plugin? Pin
tonyschr18-Jan-03 22:46
tonyschr18-Jan-03 22:46 
Generalpassing iwebbrowser2 across threads Pin
khan200018-Jan-03 7:20
khan200018-Jan-03 7:20 
GeneralRe: passing iwebbrowser2 across threads Pin
Michael Dunn18-Jan-03 7:50
sitebuilderMichael Dunn18-Jan-03 7:50 
GeneralRe: passing iwebbrowser2 across threads Pin
geo_m18-Jan-03 23:53
geo_m18-Jan-03 23:53 
You can use the marshalling feature of the COM. It's not a piece of cake, but it works, when you do it correctly. The trick is in two functions:
CoMarshalInterface and
CoUnmarshalInterface
I never did it interprocess, so you have to make your own research, but the princip is following - in app 1, in your case the browser helper object you will create the IStream* through function CreateStreamOnHGlobal. This IStream* you should pass to the CoMarshalInterface with your IWebBrowser2*. After succesfull call, you will have all required marshalling properties stored in a global memory stream.

Look for the GlobalAlloc();GlobalLock();GetHGlobalFromStream()etc functions for description how to work with that kind of shared memory and how to pass it between process boundaries.

Then in second process you'll get somehow the IStream* back, put it to the CoUnmarshalInterface to retrieve the IWebBrowser2* back.

So hope this helps and let the force be with you...
GeneralAccessing Controls Within Stacked Dialogs Pin
Aanidaani18-Jan-03 6:45
Aanidaani18-Jan-03 6:45 
GeneralRe: Accessing Controls Within Stacked Dialogs Pin
Gary R. Wheeler18-Jan-03 13:57
Gary R. Wheeler18-Jan-03 13:57 
GeneralRe: Accessing Controls Within Stacked Dialogs Pin
Aanidaani18-Jan-03 23:01
Aanidaani18-Jan-03 23:01 
Generalnonactivated dialog Pin
s98769018-Jan-03 6:30
s98769018-Jan-03 6:30 
GeneralRe: nonactivated dialog Pin
Michael Dunn18-Jan-03 6:46
sitebuilderMichael Dunn18-Jan-03 6:46 
GeneralCString GetBuffer Pin
nss18-Jan-03 6:15
nss18-Jan-03 6:15 
GeneralRe: CString GetBuffer Pin
Michael Dunn18-Jan-03 6:51
sitebuilderMichael Dunn18-Jan-03 6:51 
GeneralRe: CString GetBuffer Pin
nss18-Jan-03 12:37
nss18-Jan-03 12:37 
QuestionHow to put the content of scrollview into one bitmap? Pin
ashxly18-Jan-03 5:32
ashxly18-Jan-03 5:32 
AnswerRe: How to put the content of scrollview into one bitmap? Pin
Mike Nordell18-Jan-03 7:12
Mike Nordell18-Jan-03 7:12 
Generaldeleting a registry key Pin
nss18-Jan-03 5:00
nss18-Jan-03 5:00 
GeneralRe: deleting a registry key Pin
User 665818-Jan-03 5:21
User 665818-Jan-03 5:21 
GeneralRe: deleting a registry key Pin
Stephane Rodriguez.18-Jan-03 5:26
Stephane Rodriguez.18-Jan-03 5:26 
GeneralRe: deleting a registry key Pin
nss18-Jan-03 5:51
nss18-Jan-03 5:51 
GeneralRe: deleting a registry key Pin
Stephane Rodriguez.18-Jan-03 6:12
Stephane Rodriguez.18-Jan-03 6:12 
GeneralRe: deleting a registry key Pin
nss18-Jan-03 6:45
nss18-Jan-03 6:45 
GeneralRetrieving application directory Pin
georgiek5018-Jan-03 3:29
georgiek5018-Jan-03 3:29 

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.