Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to write a program that can be run either as a console or a GUI application? (2009) (microsoft.com)
2 points by ibobev 7 months ago | hide | past | favorite | 1 comment



Simply patch a 32 bits exécutable at adress 0xDC and apply 0 for turning your exe as console app or 1 to turn it as GUI




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: