stardv
October 13th, 2005, 12:16 PM
I was just wondering if someone can please explain the major difference between setting you application to run as Console application vs. Windows Application
If no forms are used. As far as I understand Windows Application runs message pump when console one does not, right?
The reason I came across this question is because I have an application that has no form but I wan it to display errors in a MessageBox. If I set an application to Console
It displays console what I do not need (by the way , is there any way to avoid displaying console window when running console application?). If I set it to windows applications MessageBox is not set as top and does not display as top window but just appears in toolbar.
Please explain me the reasoning behind my issues , I just want to understand in depth how it all works.
Thanks
If no forms are used. As far as I understand Windows Application runs message pump when console one does not, right?
The reason I came across this question is because I have an application that has no form but I wan it to display errors in a MessageBox. If I set an application to Console
It displays console what I do not need (by the way , is there any way to avoid displaying console window when running console application?). If I set it to windows applications MessageBox is not set as top and does not display as top window but just appears in toolbar.
Please explain me the reasoning behind my issues , I just want to understand in depth how it all works.
Thanks