diff options
author | Eric Anderson <ejona86@gmail.com> | 2009-05-01 17:14:46 -0500 |
---|---|---|
committer | Eric Anderson <ejona86@gmail.com> | 2009-05-01 17:14:46 -0500 |
commit | 663d9336324110648ffdea7c7092a004353419b5 (patch) | |
tree | d35eccc38a36859bc317796a2058497ed9d8c382 /KPL_BCB6_Project.cpp | |
download | kpl-663d9336324110648ffdea7c7092a004353419b5.tar.gz kpl-663d9336324110648ffdea7c7092a004353419b5.zip |
Initial commit of source from zwzsg
Diffstat (limited to 'KPL_BCB6_Project.cpp')
-rw-r--r-- | KPL_BCB6_Project.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/KPL_BCB6_Project.cpp b/KPL_BCB6_Project.cpp new file mode 100644 index 0000000..7621220 --- /dev/null +++ b/KPL_BCB6_Project.cpp @@ -0,0 +1,34 @@ +//---------------------------------------------------------------------------
+
+#include <vcl.h>
+#pragma hdrstop
+//---------------------------------------------------------------------------
+USEFORM("KPFormSimpleCode.cpp", KPLWindowSimple);
+//---------------------------------------------------------------------------
+WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
+{
+ try
+ {
+ Application->Initialize();
+ Application->Title = "Kernel Panic Launcher";
+ Application->CreateForm(__classid(TKPLWindowSimple), &KPLWindowSimple);
+ Application->Run();
+ }
+ catch (Exception &exception)
+ {
+ Application->ShowException(&exception);
+ }
+ catch (...)
+ {
+ try
+ {
+ throw Exception("");
+ }
+ catch (Exception &exception)
+ {
+ Application->ShowException(&exception);
+ }
+ }
+ return 0;
+}
+//---------------------------------------------------------------------------
|