IDocHostShowUI.ShowMessage randomly raised in c#
From: Adam Tuliper (amt_at_gecko-software.com)
Date: 10/02/04
- Previous message: Igor Tandetnik: "Re: Adding Browser Control to Win32 App"
- Next in thread: Adam Tuliper: "IDocHostShowUI.ShowMessage randomly raised in c#"
- Reply: Adam Tuliper: "IDocHostShowUI.ShowMessage randomly raised in c#"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 2 Oct 2004 16:40:41 -0700
Scenario:
C# form implements IDocHostShowUI. I navigate to a test
page I created with a simple alert() in it. In
ShowMessage, I display a messagebox with my own caption on
it. I then return 0 to tell IE not to display its own
dialog. My ShowMessage gets called completely randomly. I
click refresh say 3,4,5 times, nothing (the default IE
dialog is displayed), try it again, my custom messagebox
shows. Are there any known issues with calling back to
intefaces in c# from com? The interface seems to be
defined correctly, as it works, but only its random.
Sometimes event wiring seems to get lost as well. Weird.
Any thoughts?
- Previous message: Igor Tandetnik: "Re: Adding Browser Control to Win32 App"
- Next in thread: Adam Tuliper: "IDocHostShowUI.ShowMessage randomly raised in c#"
- Reply: Adam Tuliper: "IDocHostShowUI.ShowMessage randomly raised in c#"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|