Hello,
You cannot implement protocol at runtime (either in Objective-C or in .NET).
If you want to use the WebScripting protocol through the IWebScripting
interface, you have to find out which class implements it, and how to obtain
it.
I have found some samples on calling JavaScript from Cocoa, b
I've found Monobjc.WebKit.IWebScripting, a sub-class of IManagedWrapper. It's
marked as [ObjectiveCProtocol("WebScripting")]. I'm now looking for clues on
how to use this class (or should I call it an 'interface'?)
On May 24, 2010, at 2:43 PM, Eric Slosser wrote:
> I'm porting a .NET app th
I'm porting a .NET app that uses the WebBrowser control, and has Javascript
that calls back into the C#.
It does this by stating "[ComVisible(true)] public class Foo { }", by having
an member variable 'browser' of type System.Windows.Forms.WebBrowser" in Foo,
and by calling "browser.ObjectForS
3 matches
Mail list logo