[BCB]wo werden die Forms deklariert(Thema SplashScreen)?
Moin,
ich möchte einen Splashscreen nach den Regeln der Kunst einbinden, so wie das im Tutorial von sakura beschrieben wurde und wie ich es auch in Delphi nutze. Mein Problem: beim Anzeigen des Formulars ist es angeblich noch nicht deklariert. Zitat:
Code:
Die Deklaration ist ja in FSplash.h vorhanden, ich hatte erwartet, dass das UseForm auf diese Deklaration verweist.
USEFORM("Main.cpp", frm_Main);
USEFORM("FInfo.cpp", frm_Info); USEFORM("FHelp.cpp", F_Help); USEFORM("FSplash.cpp", Splash); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { Application->CreateForm(__classid(TSplash), &Splash); try { Splash->Show(); Application->Initialize(); Application->CreateForm(__classid(Tfrm_Main), &frm_Main); Application->CreateForm(__classid(Tfrm_Info), &frm_Info); Application->CreateForm(__classid(TF_Help), &F_Help); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } catch (...) { try { throw Exception(""); } catch (Exception &exception) { Application->ShowException(&exception); } } return 0; } Hat jemand einen Tipp? Vielleicht kann man das Tutorial dann erweitern. Danke, Messie |
Re: [BCB]wo werden die Forms deklariert(Thema SplashScreen)?
Schau mal da
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:10 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz