TLB 与 LIB 有什么区别

lvcjh 2001-05-06 06:02:00
TLB 与 LIB 有什么区别,怎么样使用一个Dll进行开发,怎么样导出所有的函数
...全文
87 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
tiongkohlang 2001-05-07
  • 打赏
  • 举报
回复
tlb是type library,是自动化的客户控制自动化服务器的类型库。
你想想,你怎么知道word文档,Excel表格有那些属性,方法,事件呢?你是通过类型库知道的。在VB里插入一个OCX,VB就知道这个OCX的属性,方法,事件了,怎么知道的?,靠类型库。
lib是连接的时候用到的库,和tlb几乎无关。
lvcjh 2001-05-07
  • 打赏
  • 举报
回复
关键在后面的问题
fulaoxiao 2001-05-06
  • 打赏
  • 举报
回复
lib=library
tlb==type library,can be used by COM
\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib 的目录 2009-09-06 16:17 . 2009-09-06 16:17 .. 2006-03-03 23:19 13,712 Bits.Lib 2006-03-03 23:19 4,196 credui.lib 2006-03-03 23:19 57,730 daouuid.lib 2006-03-03 23:19 527,310 ddao35.lib 2006-03-03 23:19 531,012 ddao35d.lib 2006-03-03 23:19 528,038 ddao35u.lib 2006-03-03 23:19 532,702 ddao35ud.lib 2006-03-03 23:19 14,610 WinFax.Lib 2006-03-03 23:19 206,996 GdiPlus.lib 2006-03-03 23:20 27,500 HelpCenterInterfaces.tlb 2006-03-03 23:20 64,608 HelpServiceInterfaces.tlb 2006-03-03 23:21 13,252 p2p.lib 2006-03-03 23:21 11,218 p2pgraph.lib 2006-03-03 23:21 1,380,352 atlsd.pdb 2006-03-03 23:23 121,974 WiaGuid.Lib 2006-03-03 23:23 19,212 WiaScr.Tlb 2006-03-03 23:23 10,152 esebcli2.lib 2006-03-03 23:23 129,732 cdoex.tlb 2006-03-03 23:23 26,608 cdoexm.tlb 2006-03-03 23:23 10,832 exevtsnk.tlb 2006-03-03 23:23 7,888 ActiveDS.Lib 2006-03-03 23:23 99,122 ADSIid.Lib 2006-03-03 23:23 53,222 Wldap32.Lib 2006-03-03 23:23 55,600 CDOSys.Tlb 2006-03-03 23:23 6,254 certadm.lib 2006-03-03 23:23 217,676 certidl.lib 2006-03-03 23:23 59,044 Crypt32.Lib 2006-03-03 23:23 5,516 ComSvcs.Lib 2006-03-03 23:23 75,386 DtcHelp.Lib 2006-03-03 23:23 2,106 Mtx.Lib 2006-03-03 23:23 1,734 mtxdm.lib 2006-03-03 23:23 121,030 Svcguid.Lib 2006-03-03 23:23 63,400 xaSwitch.Lib 2006-03-03 23:23 3,364 xoleHlp.Lib 2006-03-03 23:23 6,402 Icm32.Lib 2006-03-03 23:23 1,978 Icmui.Lib 2006-03-03 23:23 17,036 Mscms.Lib 2006-03-03 23:23 620,890 MMC.Lib 2006-03-03 23:23
AutoCAD_TLB.pas文件下载 unit AutoCAD_TLB; // ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a // Type Library. If this type library is explicitly or indirectly (via // another type library referring to this type library) re-imported, or the // 'Refresh' command of the Type Library Editor activated while editing the // Type Library, the contents of this file will be regenerated and all // manual modifications will be lost. // ************************************************************************ // // PASTLWTR : $Revision: 1.130 $ // File generated on 2006-8-11 16:08:04 from Type Library described below. // ************************************************************************ // // Type Lib: C:\Program Files\AutoCAD 2002\acad.tlb (1) // LIBID: {C094C1E2-57C6-11D2-85E3-080009A0C626} // LCID: 0 // Helpfile: C:\Program Files\AutoCAD 2002\ACADAUTO.CHM // DepndLst: // (1) v2.0 stdole, (C:\WINDOWS\System32\StdOle2.Tlb) // (2) v4.0 StdVCL, (C:\WINDOWS\System32\stdvcl40.dll) // Errors: // Hint: Parameter 'Type' of IAcadBlock.AddLeader changed to 'Type_' // Hint: Member 'Type' of 'IAcadPolygonMesh' changed to 'Type_' // Hint: Parameter 'Type' of IAcadPolygonMesh.Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadPolygonMesh.Type changed to 'Type_' // Hint: Member 'Type' of 'IAcad3DPolyline' changed to 'Type_' // Hint: Parameter 'Type' of IAcad3DPolyline.Type changed to 'Type_' // Hint: Parameter 'Type' of IAcad3DPolyline.Type changed to 'Type_' // Hint: Parameter 'Object' of IAcad3DSolid.CheckInterference changed to 'Object_' // Hint: Parameter 'Object' of IAcadRegion.Boolean changed to 'Object_' // Hint: Parameter 'Type' of IAcadDimension.VerticalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimension.VerticalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAligned.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimAngular.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.CenterType changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.CenterType changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.CenterMarkSize changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.CenterMarkSize changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimDiametric.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRotated.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimOrdinate.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimOrdinate.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimOrdinate.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimOrdinate.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimOrdinate.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimOrdinate.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.CenterType changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.CenterType changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.CenterMarkSize changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.CenterMarkSize changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.FractionFormat changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.LinearScaleFactor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.ArrowheadType changed to 'Type_' // Hint: Parameter 'Type' of IAcadDimRadial.ArrowheadType changed to 'Type_' // Hint: Member 'Type' of 'IAcadLeader' changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.ArrowheadType changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.ArrowheadType changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.VerticalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadLeader.VerticalTextPosition changed to 'Type_' // Hint: Member 'Type' of 'IAcadPolyline' changed to 'Type_' // Hint: Parameter 'Type' of IAcadPolyline.Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadPolyline.Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadTolerance.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadTolerance.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.DimensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.ExtensionLineColor changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.HorizontalTextPosition changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.Arrowhead1Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Type' of IAcadDim3PointAngular.Arrowhead2Type changed to 'Type_' // Hint: Parameter 'Object' of IAcadDictionary.GetName changed to 'Object_' // Hint: Parameter 'Type' of IAcadApplication.Zoom changed to 'Type_' // Hint: Symbol 'System' renamed to 'System_' // Hint: Member 'Type' of 'IAcadMenuGroup' changed to 'Type_' // Hint: Parameter 'Label' of IAcadPopupMenu.AddMenuItem changed to 'Label_' // Hint: Parameter 'Label' of IAcadPopupMenu.AddSubMenu changed to 'Label_' // Hint: Member 'Label' of 'IAcadPopupMenuItem' changed to 'Label_' // Hint: Member 'Type' of 'IAcadPopupMenuItem' changed to 'Type_' // Hint: Member 'Type' of 'IAcadToolbarItem' changed to 'Type_' // Hint: Parameter 'Unit' of IAcadUtility.AngleToReal changed to 'Unit_' // Hint: Parameter 'Unit' of IAcadUtility.AngleToString changed to 'Unit_' // Hint: Parameter 'Unit' of IAcadUtility.DistanceToReal changed to 'Unit_' // Hint: Parameter 'Unit' of IAcadUtility.RealToString changed to 'Unit_' // Hint: Parameter 'Type' of IAcadUtility.CreateTypedArray changed to 'Type_' // Hint: Parameter 'Object' of IAcadUtility.GetEntity changed to 'Object_' // Hint: Parameter 'Object' of IAcadUtility.GetSubEntity changed to 'Object_' // Hint: Parameter 'Object' of _DAcadDocumentEvents.ObjectAdded changed to 'Object_' // Hint: Parameter 'Object' of _DAcadDocumentEvents.ObjectModified changed to 'Object_' // ************************************************************************ // // *************************************************************************// // NOTE:
==============浏览器特点==============1.多页面浏览(呵呵,此为废话)2.支持鼠标手势,并且可以自定义3.支持页面拖拽,并且可以定义拖拽各方向的功能(类似GreenBrowser).拖拽开启时,页面中原本拖拽所实现的部分功能能正常使用,如将一段文字拖拽进一个textarea,input等,好像现在网上流行的多页面浏览器并不具备这个功能哦.4.支持插件5.广告过滤(效果大概没有现在那些热门多页面浏览器好,如maxthon)6.页面规则,对地址满足一定条件的页面执行相应操作7.自定义搜索引擎,可使用多引擎搜索8.方便代理服务器切换9.捕获下载地址,并使用指定的下载工具下载10.rss阅读(利用插件)11.绿色12......==============使用到的技巧==============1.鼠标手势的实现2.动态生成菜单并相应其点击事件,响应右键,可弹出菜单3.自画菜单4.利用资源文件生成菜单,并将其嵌入toolbar中5.能够对单独网页设定是否显示图片,ActiveX,动画,音乐...等东西6.实现了前进后退历史记录的显示7.如何使用代理8.使用ini文件9.托盘图标10.用api生成Toolbar,ListView,TreeView,TabStrip,StatusBar(代码另附)11.无需注册就可以使用com组件(如vb生成的ActiveX Dll)12.插件系统,这个系统完全是我自己想出来的,可能未必完善13.关于webbrowser的东西14.....==============各文件夹作用=====================MDI 主程序源码TLBz 主程序缺什么库(如tlb),到这里来找就有了ClearCache 一个清除缓存等的工具(源码)Plugin_LIB 制作插件相关的tlb源码Plugins 以写成的插件源码PluginsRssRead rss阅读插件 elease exe undllvb 用来调用dll(用于dll型插件)源码(vc6)IEMouseHand 是一个BHO(browser help object),用于对付那些对话框式弹出页面==============其他==============1.关于库"jccatch.dll#jccatch 1.0 Type Library",这个是flashget的东西,可以不要,并将frmFlashgetDownload中的Sub AddUrl()中的内容注释掉就行了2.需要设置一下vb才能在ide中正常运行tools->options->general,error trapping那里选上 break on unhandled errors3.这个程序是从2001年开始写的,那时候写的代码在各方面都不成熟,注释就不用说了,也就最近新写或改写的代码才有部分注释,各位大虾就有怪莫怪了.详细文档,呵呵,懒人啊,以后再慢慢补上吧,现在先把代码发布了再说.4.部分问题(如鼠标手势)可以到我的blog看看.5.这个东西我自己一直都在用的,所以不断会有更新,也会上传到我的主页.6.请不要用作商业用途(估计也没人用吧,^_^)=====================================by lingll 2005-8-30homepage: http://lingll.yeah.netblog: http://blog.csdn.net/lingll/email: lingll_xl@163.com
l_e多页面浏览器(1.4.136)源码 2007-2-12 其实此为0.5preview的版本,但有还没做到预期希望完成的功能,还差些吧,于是还叫1.4, 本来是暂时不想放出来的,想把未完成的都完成了再放出来,但最近也懒了,还是先把这个放出来吧, 修改的东西比较多,特别是插件部分的代码,详细还是看devlog.txt吧 l_e多页面浏览器(1.4.56)源码 2006-1-11 源码所作的更新可以在devlog.txt中看到 myacc是实现"监视所有下载项"的主要代码,用vc写 l_e多页面浏览器(1.4.0)源码 2005-8-30 =========== 目录 ============ 浏览器特点 使用到的技巧 各文件夹作用 其他 ==============浏览器特点============== 1.多页面浏览(呵呵,此为废话) 2.支持鼠标手势,并且可以自定义 3.支持页面拖拽,并且可以定义拖拽各方向的功能(类似GreenBrowser).拖拽开启时,页面中原本拖拽所实现的部分功能能正常使用,如将一段文字拖拽进一个textarea,input等,好像现在网上流行的多页面浏览器并不具备这个功能哦. 4.支持插件 5.广告过滤(效果大概没有现在那些热门多页面浏览器好,如maxthon) 6.页面规则,对地址满足一定条件的页面执行相应操作 7.自定义搜索引擎,可使用多引擎搜索 8.方便代理服务器切换 9.捕获下载地址,并使用指定的下载工具下载 10.rss阅读(利用插件) 11.绿色 12...... ==============使用到的技巧============== 1.鼠标手势的实现 2.动态生成菜单并相应其点击事件,响应右键,可弹出菜单 3.自画菜单 4.利用资源文件生成菜单,并将其嵌入toolbar中 5.能够对单独网页设定是否显示图片,ActiveX,动画,音乐...等东西 6.实现了前进后退历史记录的显示 7.如何使用代理 8.使用ini文件 9.托盘图标 10.用api生成Toolbar,ListView,TreeView,TabStrip,StatusBar(代码另附) 11.无需注册就可以使用com组件(如vb生成的ActiveX Dll) 12.插件系统,这个系统完全是我自己想出来的,可能未必完善 13.关于webbrowser的东西 14..... ==============各文件夹作用===================== \MDI 主程序源码 \TLBz 主程序缺什么库(如tlb),到这里来找就有了 \ClearCache 一个清除缓存等的工具(源码) \Plugin_LIB 制作插件相关的tlb源码 \Plugins 以写成的插件源码 \Plugins\RssRead rss阅读插件 \release exe \rundllvb 用来调用dll(用于dll型插件)源码(vc6) \IEMouseHand 是一个BHO(browser help object),用于对付那些对话框式弹出页面 ==============其他============== 1.关于库"jccatch.dll#jccatch 1.0 Type Library", 这个是flashget的东西,可以不要,并将frmFlashgetDownload中的Sub AddUrl()中的内容注释掉就行了 2.需要设置一下vb才能在ide中正常运行 tools->options->general, error trapping那里选上 break on unhandled errors 3.这个程序是从2001年开始写的,那时候写的代码在各方面都不成熟,注释就不用说了,也就最近新写或改写的代码才有部分注释,各位大虾就有怪莫怪了. 详细文档,呵呵,懒人啊,以后再慢慢补上吧,现在先把代码发布了再说. 4.部分问题(如鼠标手势)可以到我的blog看看. 5.这个东西我自己一直都在用的,所以不断会有更新,也会上传到我的主页. 6.请不要用作商业用途(估计也没人用吧,^_^) ===================================== by lingll 2005-8-30 homepage: http://lingll.yeah.net blog: http://blog.csdn.net/lingll/ email: lingll_xl@163.com

16,472

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

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