I'm trying to parse HTML pages with the help of the MSHTML control. I'm using the C++ COM interface. Now I'm at the point where I need to parse the <SELECT> tag. I'm trying to use the method get_options. This function shall return an interface pointer for a collection of OPTION elements in form of an IDispatch interface. I thought I can query an pointer to an IHTMLElementCollection interface from the IDispatch, but it returns NULL.

So, how can I access the collection?


Martin