I'm trying to write an HTA interface to modify some registry setting (using WMI).
My "application" creates a table of parameters, with several buttons to add/delete
rows, and has a strange disfunctionment: if I add a row, then delete it, then change
nodes in another row, the new nodes aren't displayed at all. If I move the mouse
over one of the modified field, it appears if I changed it into a text node, and it
appears and I get an error message:
Microsoft Visual C++ Runtime Library
- pure virtual function call
(and mshta exits) if I changed it into a test input field.
If, instead of moving the mouse, I add another row, the modified fields appear
This behaviour is so strange that I doubt it can be caused by my code, and I have
been unable to reproduce it in a small example. (The full code is a 13Ko file,
and I won't post it here).
I'm using mainly appendChild, replaceChild, setAttribute, getAttribute, attachEvent,
detachEvent, childNodes, firstChild, and the rows and cells enumerations of the
it's more complicated to call WMI methods).
Is there some kind of known bug in this context, or some well-known programming
error, that could explain these refresh problems and the runtime error I see?
Thanks in advance for your help.