E
E
EVOSandru62014-11-12 08:51:32
C++ / C#
EVOSandru6, 2014-11-12 08:51:32

How to choose a form in c++ builder that will open when compiling?

It so happened that in c++ builder I did Remove a unit named userUnit , it always opened first when compiling and it had links to other forms, threw a new version of the same unit into the project, made Add to the project, renamed the unit to userUnit , but now it doesn't open anything when compiling. Help dear!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexP11223, 2014-11-12
@AlexP11223

Look at ProjectName.cpp, there are lines in WinMain like

Application->CreateForm(__classid(TForm1), &Form1);
before
to create forms. The one that was created first will open when the application starts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question