BCB的WebBrowser控件 编译问题,着急 !!!!!!!!!!!!!!!!!!!

tryxiaohu 2009-03-21 06:10:18
bcb6.0新建空工程 , 在form上放入TWebBrowser控件 然后编译出现下列错误:

(新安装的BCB,无第三方控件),貌似和某些东西发生命名冲突, 以前遇到过这个问题 忘了怎么解决的了。。。



[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::BeforeDestruction()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::InitServerData()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::Connect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppSearchAssistantOC::Disconnect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::BeforeDestruction()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::InitServerData()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::Connect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppCScriptErrorList::Disconnect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::BeforeDestruction()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::InitServerData()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::Connect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TShellFavoritesNameSpace::Disconnect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::BeforeDestruction()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::InitServerData()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::Connect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellUIHelper::Disconnect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::BeforeDestruction()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::InitServerData()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::Connect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellWindows::Disconnect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::BeforeDestruction()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::InitServerData()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::Connect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppShellBrowserWindow::Disconnect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::BeforeDestruction()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::InitServerData()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::InvokeEvent(int, System::DynamicArray<System::OleVariant>&)' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::Connect()' referenced from ...\TESTWEB\UNIT1.OBJ
[Linker Error] Unresolved external '__fastcall Shdocvw_tlb::TCppInternetExplorer::Disconnect()' referenced from ...\TESTWEB\UNIT1.OBJ
...全文
400 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
jxsqs 2009-03-23
  • 打赏
  • 举报
回复
mark
lili830209 2009-03-23
  • 打赏
  • 举报
回复
mark
tryxiaohu 2009-03-23
  • 打赏
  • 举报
回复
不是TWebBrowse 1.1和TWebBrowse 1.0的问题。。
可能和我机器上以前装的其他库有冲突。。。
因为今天在公司机器装了BCB,导入TWebBrowser后 编译完全没问题。。
nbzip 2009-03-23
  • 打赏
  • 举报
回复
没有功能.

你可以用ACTIVE加入,再加一个TWebBrowse控件的,以前的可能因为你升级IE而变去掉了.
变成了TWebBrowse 1.1(以前那个好像是TWebBrowse 1.0).

二者的入口可能不一样,制成了.1.0的函数不认识1.1LIB内的函数.(版本可能说错了.呵呵.)

你只要再加入一个ACTIVE控件,把最新的TWebBrowse放入,然后,编程的时候用新加上的TWebBrowse就行了.
周药师 2009-03-22
  • 打赏
  • 举报
回复
友情UP
我不懂电脑 2009-03-22
  • 打赏
  • 举报
回复
重新装一下吧。
TWebBrowser不会有这样的问题。
oyljerry 2009-03-22
  • 打赏
  • 举报
回复
加上对应的lib库文件

703

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder ActiveX/COM/DCOM
社区管理员
  • ActiveX/COM/DCOM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧