以下代码是我从书上抄的,几经思索未发现纰漏,但始终异常,真气死俺了!
诸位高手,能否指点一下!unit xch;
interface
uses
SysUtils, Classes, StdCtrls;
type
tmythread=class(tthread)
private
protected
procedure execute;override; /// 异常提示:[Error] xch.pas(10): Unsatisfied forward or external declaration: 'tmythread.execute'
public
end;
implementation
end.
诸位高手,能否指点一下!unit xch;
interface
uses
SysUtils, Classes, StdCtrls;
type
tmythread=class(tthread)
private
protected
procedure execute;override; /// 异常提示:[Error] xch.pas(10): Unsatisfied forward or external declaration: 'tmythread.execute'
public
end;
implementation
end.
解决方案 »
- 不重启动实现光驱的禁用和起用
- 诸位大虾早上好:我在TREEVIEW做了一个POPUP菜单,有新增、删除、重命名,新增、删除我都做到了,重命名就不会了。。。
- 关于异或算法,请高手指点
- 在线等待-30分 SQLConnection在连接远程SQL数据库的问题(怎么获取SQL服务器的错误码)
- 请问我如何打开局域网中一台电脑的加密共享文件夹,前提我也不知道密码?
- 两个小小小小小问题
- 求助,一个字符串计算问题,急!
- 如何将字符串转换成对象名?
- 清除窗体内的所有编辑框的内容最简单的方法是什么?
- WebSnap中Checkbox 提交问题,谁能解决?
- delphi有没有中文版的?(我是菜鸟,别笑我)
- 如何知道可执行文件是控制台还是GUI?
begin
....
end;
加上procedure TMyThread.Create;
begin
....
end;
诸位高手,能否指点一下!unit xch;
interface
uses
SysUtils, Classes, StdCtrls;
type
tmythread=class(tthread)
private
protected
public
procedure execute;override;//应该放到这儿
end;
implementationprocedure execute;//函数实现.
begin
//...
end;
end.
怎么少了类名?
procedure TMyThread.execute;//函数实现.
begin
//...
end