I have a application *.exe which is a GUI application. Now I need to convert it to work as both console and GUI i.e. if any commandline args are entered it will work as a console application if no commandline args are entered it need to work as GUI application