|

楼主 |
发表于 2009-9-27 12:09:29
|
显示全部楼层
引用第1楼猫工于2009-09-27 09:25发表的 :
你查看一下错误信息,是在代码的哪个地方出现的错误
我什么都没写!
-
- { KOL MCK } /// Do not remove this line!
- {$DEFINE KOL_MCK}
- {$ifdef FPC} {$mode delphi} {$endif}
- unit Unit1;
- interface
- uses Windows, Messages, KOL {place your units here->}
- {$IFDEF LAZIDE_MCK}, Forms, mirror, Classes, Controls, mckCtrls, mckObjs,
- Graphics, StdCtrls;
- {$ELSE} ; {$ENDIF}
- type
- { TForm1 }
- {$I MCKfakeClasses.inc}
- {$IFDEF KOLCLASSES} TForm1 = class; PForm1 = TForm1; {$ELSE OBJECTS} PForm1 = ^TForm1; {$ENDIF CLASSES/OBJECTS}
- TForm1 = {$IFDEF KOLCLASSES}class{$ELSE}object{$ENDIF}({$IFDEF LAZIDE_MCK}TForm{$ELSE}TObj{$ENDIF})
- Button2: TKOLButton;
- Form: PControl;
- KOLForm1: TKOLForm;
- KOLProject: TKOLProject;
- private
- {$IFNDEF KOL_MCK}Button1: TButton;{$ENDIF} {<-- It is a VCL control}
- {$IFNDEF KOL_MCK}Button1: TButton;{$ENDIF} {<-- It is a VCL control}
- { private declarations }
- public
- { public declarations }
- end;
- var
- Form1 {$IFDEF KOL_MCK} : PForm1 {$ELSE} : TForm1 {$ENDIF} ;
- {$IFDEF KOL_MCK}
- procedure NewForm1( var Result: PForm1; AParent: PControl );
- {$ENDIF}
- implementation
- {$IFDEF KOL_MCK}
- {$I Unit1_1.inc}
- {$ENDIF}
- initialization
- {$IFNDEF KOL_MCK} {$I unit1.lrs} {$ENDIF}
- end.
-
复制代码 |
|