--  File:STATIC.adb
-- 
--  Description:  This file contains the main Ada-95 program 
--                Generated date: 31/03/97 time is 20:12:43
-- 
with System ; 
with Ada.Exceptions ; 
with os2.jba; use os2.jba;  
with STATICDP ; use STATICDP ;
with text_io; use text_io;
procedure STATIC is
      
begin 
      
 --   Initialize the application 
 
pApp :=  GuiInvokeApplication(    
          ApplicationName => "static",
          Title           =>  "static controls test ada program",
          WindowClass     =>  WT_DIALOG,
          IDD_MAINFRAME   =>  IDD_DLGMAIN,
          pwMainFrame     => wDLGMain'unchecked_access,
          DialogWndProc   =>  DLGMainWndProc'address);
   
GuiExitWindows ;
  exception 
    when The_Error: others => new_line; put_Line (" There are some problems");
         put_Line(Ada.Exceptions.Exception_Name(The_Error));
         put_Line(Ada.Exceptions.Exception_Information(The_Error)); 
         put_Line(Ada.Exceptions.Exception_Message(The_Error));
 
end STATIC ;
