简体   繁体   中英

Where is main function?

In Metro app created by VS11, where can I find main function?
I know it sounds silly but I've tried to look for it and couldn't find it anywhere.

Simply...there is not! :) The main entry point is App::App(), take a look at http://msdn.microsoft.com/en-us/library/windows/apps/hh699878(v=vs.110).aspx

There's not one in your code. Instead, it's in the Metro framework somewhere, and it'll wind up calling your App::App() method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM