1.DsgnIntf.pas在Delphi6编译总是失败,有几个undeclared identifier,比如IDesign等,有好些控件都需要这个文件编译,而且Delphi6没有自带2.Office的WebComopenents也没法安装,Error这个符号没有定义
解决方案 »
- 请教为什么我的SERVER和CLIENT的SOCKET.HANDLE的值不一样
- 如何在delphi7中建立corba服务器?
- ^_^高手帮个忙!一个有关媒体拖放的问题!
- 不明白得快疯掉了(解决之后大大的加分)
- 如何判断DBGrid的选中的是那行?(在什么事件中)
- 编译时怎样对源程序加密以防止被反编译?
- 这是不是D6的一个BUG??
- 三层主从结构,第二个CLIENTDATASET的DATASETFIELD选项为空,为何?
- 谁有DELPHI的类似控件参考手册的书?
- 可是我怎么区分2000的两个版本?
- 请问哪位高手知道“怎么把录制下来的声音存成流的形式”啊
- 紧急求助 SocketConnection
这个问题是D6及D7才有的,原因及解决方法如下文(英文站点,看晕了)
http://community.borland.com/article/0,1410,27717,00.html
不改包,直接改Delphi源文件的解决方法:(我是这样改的,没有出什么问题)
1.加入搜索路径
C:\Program Files\Borland\Delphi7\Source\ToolsAPI
2.打开
C:\Program Files\Borland\Delphi7\Source\ToolsAPI\DesignEditors.pas
3.找到并把
uses
Types, SysUtils, Classes, TypInfo, Variants, DesignIntf, DesignMenus,Proxies;
改为
uses
Types, SysUtils, Classes, TypInfo, Variants, DesignIntf, DesignMenus{,Proxies};
4.找到并把
if (FAncestor = nil) and (Component <> Designer.Root)
and IsProxyClass(Component.ClassType) then
改为
if (FAncestor = nil) and (Component <> Designer.Root)
{and IsProxyClass(Component.ClassType)} then
5.找到并把
while IsProxyClass(ComponentClass) do
改为
//while IsProxyClass(ComponentClass) do
6.保存,编译运行,OK上面3.4.5.就是把Proxies单元从DesignEditors单元中剔除,DesignEditors单元中只有两个地方引用了Proxies单元的函数,而且是同一个函数:IsProxyClass,把这两个地方注释掉就可以了.2:
应该要引用一个单元,好象是ActiveX或ComObj之类的,忘了
2.好像不行的,到底需要哪个单元
2.ADOInt 不知道是不是这个,好象也没有别的了
[Warning] OWC10_TLB.pas(13318): Method 'Repaint' hides virtual method of base type 'TWinControl'
[Warning] OWC10_TLB.pas(13561): Method 'Repaint' hides virtual method of base type 'TWinControl'
[Warning] OWC10_TLB.pas(13899): Redeclaration of 'OnFocus' hides a member in the base class
[Error] OWC10_TLB.pas(14425): Field or method identifier expected
[Error] OWC10_TLB.pas(14442): Field or method identifier expected
[Error] OWC10_TLB.pas(14446): Field or method identifier expected
[Error] OWC10_TLB.pas(15687): Cannot assign to a read-only property
[Error] OWC10_TLB.pas(15700): Cannot assign to a read-only property
[Error] OWC10_TLB.pas(15734): Cannot assign to a read-only property
[Error] OWC10_TLB.pas(16895): Undeclared identifier: 'Connection'
[Fatal Error] Office.dpk(34): Could not compile used unit '..\..\Imports\OWC10_TLB.pas'