Hi all,

I embedded the Mozilla ActiveX Control (v1.7.12) in a Windows
Application. When I load a html page with <object> tags which embed my
own custom plugin I can query the IID_IHTMLElement interface for this
element. But I can't query the interface i have implemented for my own
plugin. QueryInterface returns E_NOINTERFACE (0x80004002) for this
interface.

Does the Mozilla ActiveX Control support querying of plugin
interfaces? Maybe this is the problem. What else can go wrong? Are the
interface IDs of the microsoft world (IID) and the mozilla world
(nsIID) compatible or do I need some conversion here? I just copy/
pasted the id from the plugin source and assigned it to an IID like
this:
const IID NS_IMYPLUGIN_IID = {0x9fa508c3, 0xab61, 0x4d5d, { 0x8a,
0x49, 0xde, 0xdf, 0xd8, 0x91, 0x6b, 0xe2 }};

kindest regards,
Rainer
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to