Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SOS : Plug-in for Internet Explorer

Status
Not open for further replies.

kaiino

Programmer
Jun 7, 2002
3
FR
Is someone knows how could I implement a DLL for IE ??
Which functions do I have to implement and when are they called in IE ? Must these funtions be called by a Web page or is IE can load it alone ?

please help me !

thk ...
 
Try to use Interfaces for access to Internet Explorer.
A little Example:
DWORD dwClsContext = CLSCTX_SERVER;
IUnknown *pUn;
DWORD stda = CoGetClassObject(CLSID_InternetExplorer, dwClsContext, NULL,
IID_IUnknown, (void **)&pUn);
//And so on
 
You shoul make a class that is derived from the Shell interfaces below (I have made a toolbar for IE with this one).

public IDeskBand,
public IInputObject,
public IObjectWithSite,
public IPersistStream,
public IContextMenu

(all documented in MSDN for band objects)

Also you should make another class which will be the class factory for your object.
To get this working you should know something about shell programming, COM interfaces and of cours IE.
Some samples you can find on codeguru.com.

HTH,
s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top