/***************************************************************************** USB-Example: User defined USB device V1.0.0 (c) 2011 Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch Homepage: http://products.reworld.eu/index.htm Main program Borland C++Builder 6 Created: 2011-05-30 Changed: 2011-05-30 *****************************************************************************/ //--------------------------------------------------------------------------- #include #pragma hdrstop //--------------------------------------------------------------------------- USEFORM("UnitMain.cpp", FormMain); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->Title = "User Device Demo"; Application->CreateForm(__classid(TFormMain), &FormMain); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } catch (...) { try { throw Exception(""); } catch (Exception &exception) { Application->ShowException(&exception); } } return 0; } //---------------------------------------------------------------------------