adir
adir

Reputation: 1287

need help understanding MFC projects

can anyone please explain to me what are the files that created when i creating MFC project? what is the main file which running the dialog. sorry if there is some mistakes i new in MFC. thanks

Upvotes: 1

Views: 181

Answers (1)

CashCow
CashCow

Reputation: 31445

If you opened it as a dialog application (probably because you are not writing a document editor so did not want a "doc-vieW" and there is no option for a menu-driven application otherwise, my pet peeve with MFC):

The "App" is your application. It creates your dialog then calls DoModal() on it.

It will also create by default a stdafx.h file and fail with a "fatal error" if any of your source fails to include it. (Another total WTF).

Upvotes: 2

Related Questions