home *** CD-ROM | disk | FTP | other *** search
- unit statmain;
- { Unit with all User-procedures:
- The procedure 'LetsDoIt' is called, whenever you click the button
- 'Start'
- }
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- StdCtrls;
-
- type
- TForm1 = class(TForm)
- Button1: TButton;
- procedure LetsDoit(Sender: TObject);
- private
- { Private-Deklarationen }
- public
- { Public-Deklarationen }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- {$R *.DFM}
-
- // The procedure, which has to be measured, is in the DLL 'EXDLL'
- // it is linked static
- FUNCTION Start : Integer; EXTERNAL 'EXDLL.DLL';
-
- procedure TForm1.LetsDoit(Sender: TObject);
- begin
- Start;
- Start;
- end;
-
- END.