home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 October
/
Chip_2001-10_cd1.bin
/
zkuste
/
delphi
/
kolekce
/
d456
/
DCSLIB25.ZIP
/
DCResource.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
2001-01-23
|
552b
|
36 lines
{
BUSINESS CONSULTING
s a i n t - p e t e r s b u r g
Components Library for Borland Delphi 4.x, 5.x
Copyright (c) 1998-2000 Alex'EM
}
unit DCResource;
interface
{$R DCsp.res}
{$I DCConst.inc}
var
IsShareware: boolean;
implementation
uses
Windows;
function IsDelphiRunning: boolean;
begin
Result := FindWindow('TAppBuilder', nil) <> 0;
end;
initialization
IsShareware := False;
{$IFDEF SHREWARE}
if not IsDelphiRunning then
begin
IsShareware := True;
end;
{$ENDIF}
end.