Open
Bug 288987
Opened 20 years ago
Updated 2 years ago
Some WinMain functions could be replaced by /ENTRY:mainCRTStartup
Categories
(Toolkit :: Startup and Profile System, enhancement)
Tracking
()
NEW
People
(Reporter: Biesinger, Unassigned)
References
()
Details
The various winmain functions that just call main can be replaced with passing /ENTRY:mainCRTStartup to the linker. that way, you can use main() even in a GUI APP (without the console window). This also avoids depending on the seemingly undocumented __argc/__argv variables, and it avoids violating C++ (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_pluslang_main_function_restrictions.asp)
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•