IEModule instance data sharing

Add-in Express™ Support Service
That's what is more important than anything else

IEModule instance data sharing
Stephen Owens

Posts: 3
Joined: 2011-03-25
Add-In Express folks,

This is a very similar question to:

I'm running in a helper object (ADX IE Module) rather than a ToolBar. Do the same considerations for instancing still apply? It looks like I'm getting new copies of the BHO possibly for each URL visited? If that is so can I use the same ADX IE Shared Data object to share between them? The reference you provided from the other question mentions a GlobalData object which is part of every IE Plug-in project but I don't see that in my project. Is there more complete documentation on using the Shared Data mechanism?


Posted 25 Mar, 2011 10:35:54 Top
Sergey Grischenko

Add-in Express team

Posts: 7233
Joined: 2004-07-05
Hi Stephen,

Yes, IE creates a new instance of the add-on (BHO) for each tab/browser. It is by design in IE7-IE9. The GlobalData object is the class that uses the AddinExpress.IE.ADXIESharedMemory class of Add-in Express. Please download the example and test it. Let me know if you face any difficulties with the code.
Posted 26 Mar, 2011 09:27:31 Top