home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 October
/
PCWorld_2000-10_cd2.bin
/
Borland
/
interbase
/
IBConsole_src.ZIP
/
ibconsole
/
IBConsole.dpr
< prev
next >
Wrap
Text File
|
2000-07-23
|
4KB
|
97 lines
{
* The contents of this file are subject to the InterBase Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License.
*
* You may obtain a copy of the License at http://www.Inprise.com/IPL.html.
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License. The Original Code was created by InterBase
* Software Corporation and its successors.
*
* Portions created by Inprise Corporation are Copyright (C) Inprise
* Corporation. All Rights Reserved.
*
* Contributor(s): ______________________________________.
}
program IBConsole;
{%ToDo 'IBConsole.todo'}
uses
Windows,
Forms,
frmuMain in 'frmuMain.pas' {frmMain},
frmuAbout in 'frmuAbout.pas' {frmAbout},
zluGlobal in 'zluGlobal.pas',
frmuServerLogin in 'frmuServerLogin.pas' {frmServerLogin},
frmuUser in 'frmuUser.pas' {frmUserInfo},
dmuMain in 'dmuMain.pas' {dmMain: TDataModule},
frmuServerRegister in 'frmuServerRegister.pas' {frmServerRegister},
zluibcClasses in 'zluibcClasses.pas',
frmuDBRegister in 'frmuDBRegister.pas' {frmDBRegister},
frmuSplash in 'frmuSplash.pas' {frmSplash},
frmuMessage in 'frmuMessage.pas' {frmMessage},
zluUtility in 'zluUtility.pas',
frmuDBConnect in 'frmuDBConnect.pas' {frmDBConnect},
frmuDBBackup in 'frmuDBBackup.pas' {frmDBBackup},
frmuServerProperties in 'frmuServerProperties.pas' {frmServerProperties},
frmuDBProperties in 'frmuDBProperties.pas' {frmDBProperties},
frmuBackupAliasProperties in 'frmuBackupAliasProperties.pas' {frmBackupAliasProperties},
frmuDBCreate in 'frmuDBCreate.pas' {frmDBCreate},
zluContextHelp in 'zluContextHelp.pas',
zluCommDiag in 'zluCommDiag.pas',
frmuCommDiag in 'frmuCommDiag.pas' {frmCommDiag},
frmuDBConnections in 'frmuDBConnections.pas' {frmDBConnections},
frmuDBShutdown in 'frmuDBShutdown.pas' {frmDBShutdown},
frmuDBStatistics in 'frmuDBStatistics.pas' {frmDBStatistics},
frmuAddCertificate in 'frmuAddCertificate.pas' {frmAddCertificate},
frmuDBValidationReport in 'frmuDBValidationReport.pas' {frmDBValidationReport},
frmuDBTransactions in 'frmuDBTransactions.pas' {frmDBTransactions},
frmuDBValidation in 'frmuDBValidation.pas' {frmDBValidation},
frmuDBRestore in 'frmuDBRestore.pas' {frmDBRestore},
frmuDispMemo in 'frmuDispMemo.pas' {frmDispMemo},
frmuModifyServerAlias in 'frmuModifyServerAlias.pas' {frmModifyServerAlias},
zluSQL in 'zluSQL.pas',
frmuDisplayBlob in 'frmuDisplayBlob.pas' {frmDisplayBlob},
frmuDlgClass in 'frmuDlgClass.pas' {Dialog},
frmuObjectWindow in 'frmuObjectWindow.pas' {frmObjectView},
wisql in 'wisql.pas' {dlgWisql},
frmuTextViewer in 'frmuTextViewer.pas' {frmTextViewer},
frmuSQLOptions in 'frmuSQLOptions.pas' {frmSQLOptions},
frmuTools in 'frmuTools.pas' {frmTools},
frmuAddTool in 'frmuAddTool.pas' {frmAddTools},
frmuDescription in 'frmuDescription.pas' {frmDescription},
frmuWindowList in 'frmuWindowList.pas' {dlgWindowList};
{$R *.RES}
begin
{ Create a mutex to make sure only 1 instance is running }
CreateMutex (nil, false, 'ib_console_mtx');
if GetLastError() = ERROR_ALREADY_EXISTS then
begin
{ It's already running so Restore the other copy }
SendMessage (HWND_BROADCAST,
RegisterWindowMessage('ib_console_mtx'),
0,
0);
Halt(0);
end;
Application.Initialize;
frmSplash := TfrmSplash.Create(Application);
frmSplash.Show;
frmSplash.Update;
Application.ProcessMessages;
Application.Title := 'IBConsole';
Application.CreateForm(TdmMain, dmMain);
Application.CreateForm(TfrmMain, frmMain);
frmSplash.Free;
Application.ShowMainForm := true;
ShowWindow(Application.Handle, SW_RESTORE);
Application.Run;
end.