Hye, how to make a pure process without any GUI, but having MFC support...

J

Jigar Mehta

Hye,
I want to develop one core process which has a lot thing to do but
fortunately does not have any GUI. In short, it is a core process which does
its processing without any GUI and does the work according to system
parameter values... (those are internal things.. I have managed them) but I
want to develop such an EXE which runs all the time (like TSR) which does
not have any GUI. And yes, the most important thing, I want MFC support in
that compulsorily without that, application can not be developed by me...

So, any idea of converting MFC - dialog based application to a simple
process that does not show a dialog once also (it hides itself from the
starting point... and it does not sit on the taskbar also..., means user
must not know that this process is running...)
 
S

Steve McLellan

Hi

Look at services - they're often used for this sort of thing (web servers,
anything that doesn't need any user interventation) and you can get them to
start at login etc. Never programmed them myself but VS .NET has wizards for
them. Just rip out all your processing code and transfer it.

Steve
 
G

Guest

Change the MFC setting from 'Not using MFC' to 'Using MFC in a static library' (or 'Using MFC in a shared DLL' if only for your own development machine), and then replace "#include <windows.h>" with "#include <afxwin.h>"

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top