Board index » cppbuilder » Splash form
Johan Friskop
![]() CBuilder Developer |
Mon, 20 Jan 2003 03:00:00 GMT
Splash form
I am trying to build a splash form into my application, and have found
the below example. However, I get a "Linker error: Unresolved external....." when I try the example. What could be the mistake? All help is appreciated! /johan friskopp FAQ533C.txt Showing a splash screen at startup Question: Answer: The best place to open a splash screen is in the project //------------------------------------------------------------------------- #include USEFORM("Unit1.cpp", Form1); // Be sure to include the header for the splash form. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) SplashForm = new TSplashForm(Application); Application->CreateForm(__classid(TForm1), &Form1); SplashForm->Hide(); Application->Run(); return 0; |