home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 July
/
Chip_2000-07_cd.bin
/
sharewar
/
prodelph
/
DLLSUPP.ZIP
/
STATMAIN.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1999-02-12
|
722b
|
40 lines
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.