Ignore:
Timestamp:
Jan 16, 2007, 12:35:04 AM (18 years ago)
Author:
alloc
Message:

Rev86 was first after multi-cons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • oup/current/OniUnPacker.dpr

    r88 r92  
    22
    33uses
    4   Forms, Windows,
     4  Forms,
    55  Main in 'Main.pas' {Form_Main},
    66  Data in 'Data.pas',
     
    88  Helper_ValueEdit in 'Helper_ValueEdit.pas' {Form_ValueEdit},
    99  Settings in 'Settings.pas' {Form_Settings},
    10   FTypeReg in 'FTypeReg.pas',
    1110  Functions in 'Code\Functions.pas',
    1211  Exporters in 'Code\Exporters.pas',
     
    2019  RawEdit in 'Tools\RawEdit.pas' {Form_ToolTemplate4},
    2120  TxmpReplace in 'Tools\TxmpReplace.pas' {Form_ToolTemplate5},
    22   FolderBrowser in 'Code\FolderBrowser.pas';
     21  FTypeReg in 'ImportedStuff\FTypeReg.pas',
     22  FolderBrowser in 'ImportedStuff\FolderBrowser.pas',
     23  OneInst in 'ImportedStuff\OneInst.pas';
    2324
    2425{$R *.res}
    2526{$R ExtraIcos.res}
    26 const
    27   MutexName = 'Oni Un/Packer';
    28 var
    29   hMutex: THandle;
    3027
    3128begin
    32   hMutex := CreateMutex(nil, True, MutexName);
    33   if (hMutex = 0) or (GetLastError = ERROR_ALREADY_EXISTS) then
    34   begin
    35     PostMessage(HWND_BROADCAST, 0, 0, 0);
    36   end
    37   else
    38   begin
    39     Application.Initialize;
    40     Application.Title := 'Oni Un/Packer';
    41     Application.CreateForm(TForm_Main, Form_Main);
    42     Application.CreateForm(TForm_LevelDB, Form_LevelDB);
    43     Application.CreateForm(TForm_ValueEdit, Form_ValueEdit);
    44     Application.CreateForm(TForm_Settings, Form_Settings);
    45     Application.Run;
    46   end;
    47   CloseHandle(hMutex);
     29  Application.Initialize;
     30  Application.Title := 'Oni Un/Packer';
     31  Application.CreateForm(TForm_Main, Form_Main);
     32  Application.CreateForm(TForm_LevelDB, Form_LevelDB);
     33  Application.CreateForm(TForm_ValueEdit, Form_ValueEdit);
     34  Application.CreateForm(TForm_Settings, Form_Settings);
     35  Application.Run;
    4836end.
Note: See TracChangeset for help on using the changeset viewer.