-
April 25th, 2013, 04:04 AM
#1
doesn't get DWebBrowserEvents2 events
i have a COM object. in it i start a new thread and in that thread i create an internet explorer window. when i try to nevigate to an URL i don't catch the DWebBrowserEvents2 nevigate complete event.
if i'm doing it in the main thread it work fine.
someone know the what's the problem?
-
April 25th, 2013, 05:22 AM
#2
Re: doesn't get DWebBrowserEvents2 events
Well, what is the reason to create a window in a secondary thread?
Victor Nijegorodov
-
April 25th, 2013, 05:25 AM
#3
Re: doesn't get DWebBrowserEvents2 events
The problem is your code. You have to show your code where you create your web browser control and connect to the event source.
As well, any thread COM classes operate in must perform CoInitialize/OleInitialize.
Best regards,
Igor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|