Помогите разобраться с кодом
Вот нашел код
void __fastcall TForm1::CppWebBrowser1DocumentComplete(TObject *Sender,
LPDISPATCH pDisp, Variant *URL)
{
long i;
IHTMLDocument2* iDoc;
IDispatch* iDisp;
IHTMLElement* IElement;
IHTMLSelectElement* iSelectElement;
IHTMLInputElement *iInputElement;
IHTMLOptionElement* iOptionElement;
IHTMLAnchorElement* IAnchorElement;
IHTMLScriptElement *IScriptElement;
IHTMLBodyElement* IBodyElement;
IHTMLTextAreaElement* iTextAreaElement;
IHTMLImgElement* iImgElement;
IHTMLFormElement* iFormElement;
IHTMLElementCollection* iElementCollection=NULL;
if( CppWebBrowser1 ->ControlInterface->Document)
{
CppWebBrowser1 ->ControlInterface->Document->QueryInterface(__uuidof( IHTMLDocument2),(void**)&iDoc);
}
iDoc->get_all(&iElementCollection);
long p;
iElementCollection->get_length(&p);
iDoc->get_body(&IElement);
wchar_t *T;
IElement->get_innerHTML(&T);
Memo1->Text=T;
}
Это выдерает код из Документа....
Создал проект в билдере...
Билдер начинает ругаться сразуже как видит IHTML... Не подскажите что нужно скачать и установить чтобы заработало это? Если не сложно подскажите где можно скачать...
#include <mshtml.h>