![]() |
[BCB]wo werden die Forms deklariert(Thema SplashScreen)?
Moin,
ich möchte einen Splashscreen nach den Regeln der Kunst einbinden, so wie das im ![]() 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
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:17 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz