OpenCores
URL https://opencores.org/ocsvn/z80control/z80control/trunk

Subversion Repositories z80control

[/] [z80control/] [trunk/] [CII_Starter_USB_API_v1/] [SW/] [CII_Starter_Kit_Control_Panel.cpp] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 tylerapohl
//---------------------------------------------------------------------------
2
 
3
#include <vcl.h>
4
#pragma hdrstop
5
//---------------------------------------------------------------------------
6
USEFORM("Main.cpp", Form1);
7
USEFORM("About.cpp", AboutBox);
8
USEFORM("Test_Page.cpp", Form4);
9
//---------------------------------------------------------------------------
10
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
11
{
12
     try
13
     {
14
           Application->Initialize();
15
           Application->Title = "CII Starter Kit Control Panel";
16
                 Application->CreateForm(__classid(TForm1), &Form1);
17
       Application->CreateForm(__classid(TAboutBox), &AboutBox);
18
       Application->CreateForm(__classid(TForm4), &Form4);
19
       Application->Run();
20
     }
21
     catch (Exception &exception)
22
     {
23
           Application->ShowException(&exception);
24
     }
25
     catch (...)
26
     {
27
           try
28
           {
29
                throw Exception("");
30
           }
31
           catch (Exception &exception)
32
           {
33
                Application->ShowException(&exception);
34
           }
35
     }
36
     return 0;
37
}
38
//---------------------------------------------------------------------------

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.