How to convert MFC dialog based application into a simple process without any GUI

  • Thread starter Thread starter Jigar Mehta
  • Start date Start date
J

Jigar Mehta

Hye,
Jigar Mehta from India. I have one application of MFC - dialog based
application. Now I don't want GUI in that. It is a pure multithreaded
process which will run continuously and does some task. How to remove the
dialog before it loads itself... (It is to be noted that I have to have MFC
support in the application..)

In short, how to make GUI less windows process (core process that does
not create any window at all - so, hiding window (after creation) is not the
solution)..

Thank you..
 
Jigar Mehta from India. I have one application of MFC - dialog based
application. Now I don't want GUI in that. It is a pure multithreaded
process which will run continuously and does some task. How to remove the
dialog before it loads itself... (It is to be noted that I have to have MFC
support in the application..)

In short, how to make GUI less windows process (core process that does
not create any window at all - so, hiding window (after creation) is not the
solution)..

You've started from the wrong point really - however, just check the
code in the InitInstance - which is where the main dialog is created
and shown (DoModal).

Dave
 
Back
Top