晕了,OLE到底该咋用?
错误:
[ILINK32 Error] Error: Unresolved external '__fastcall System::Variant::OlePropertySet(System::UnicodeString&, TAutoArgsBase&)' referenced from...
代码:
Variant browser;
browser=CreateOleObject("InternetExplorer.Application");
browser.OlePropertySet("Top","0");
browser.OlePropertySet("Left","0");
browser.OlePropertySet("Width","855");
browser.OlePropertySet("Height","735");
browser.OlePropertySet("Visible","true");
browser=Unassigned;
加了#include <ComObj.hpp>也不行,是不是还得该链接什么东东?