A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.
I'm building an ActiveX object that will be instantiated inside of IE. When the component detects that the document is fully loaded, it goes into the DOM of the page that it's on and collects references to certain IHTMLElement objects.
Currently it saves a full COM reference to this object, however I'm thinking that it might not be the best idea. For instance, what if the object is on a page where there is some scripting that happens to remove one of the objects that I have referenced.
Does anyone know of a better way of dealing with this? Instead, should I just save the element's uniqueID property and then check if it still exists before using it?
This topic is archived. No further replies will be accepted.Other recent topics
Powered by FogBugz