home *** CD-ROM | disk | FTP | other *** search
- {
- 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.
-