c++ - How to create an extension for Internet Explorer as Exe Com server? -
I need to create an extension for Internet Explorer and I need it to be an XE Com server. First of all, I have created a simple coop DLL project describing the ATL wizard and it worked very well, IE loaded my extension and it showed my message box. After this, I repeated all these steps, but created the CNSE Project. I registered it in the same way and can see the Internet Explorer extension but it does not work. My work is not called IObjectWithSite :: SetSite and IObjectWithSite :: GetSite. Can you please advise me how to resolve this problem?
You have the out-of-process com server as a BHO, but you can get the com server Can call As you can use late binding:
CComDispatchDriver pServer; If (SUCCEEDED (pServer.CoCreateInstance (CLSID_YourComServer)) {pServer.Invoke0 (L "ServerMethodName");}
Comments
Post a Comment