//--------------------------------------------------------------------------- #include #pragma hdrstop USEFORM("..\Common\AboutDemoForm.cpp", formAboutDemo); USEFORM("..\Common\DemoBasicMain.cpp", frmDemoBaisicMain); USEFORM("OLAPBrowserMain.cpp", frmOlapBrowser); USERES("OLAPBrowser.res"); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->CreateForm(__classid(TfrmOlapBrowser), &frmOlapBrowser); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } return 0; } //---------------------------------------------------------------------------