#include #include #include #include #include //#include //#include //#include //#include //#include int PASCAL WinMain(HINSTANCE /*hInstance*/,HINSTANCE /*hPrevInstance*/,LPSTR lpszCmdLine,int /*nCmdShow*/) { MainFrame mainFrame; VersionInfo versionInfo; /* VersionInfo versionInfo; String strCommandLine; strCommandLine=lpszCmdLine; if(strCommandLine=="GENPERM") { Registration::getInstance().generatePermanentLicense(); SplashScreen splash("GUITAR","2002 - Diversified Software Solutions. \"http:\\www.diversified-software.com\"",versionInfo.getProductNameString()+String(" ")+versionInfo.getProductVersion()); splash.perform(); } else if(!(strCommandLine=="NOLOGO")) { SplashScreen splash("GUITAR","2002 - Diversified Software Solutions. \"http:\\www.diversified-software.com\"",versionInfo.getProductNameString()+String(" ")+versionInfo.getProductVersion()); splash.perform(); } // GlobalDefs::setLogLevel(GlobalDefs::Verbose); GlobalDefs::setLogLevel(GlobalDefs::NoLog); GlobalDefs::setRegisteredClipboardFormat(Clipboard::registerClipboardFormat(String("[")+versionInfo.getProductNameString()+String(",")+versionInfo.getProductVersion()+String("]"))); GlobalDefs::outDebug("Application started."); GlobalDefs::outDebug("Creating main window.",GlobalDefs::Info); */ mainFrame.createWindow("Drums",versionInfo.getProductNameString()+String(" ")+versionInfo.getProductVersion(),"mainMenu","APP_ICON"); // GlobalDefs::outDebug("Loading accelerators.",GlobalDefs::Info); mainFrame.loadAccelerators(APPACCELERATORS); return mainFrame.messageLoop(); }