Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,

i created the windows service in vc 6.0.
i added the dialog box . (Insert -> Resource)
i add the header files. now it not giving any compilation error.
i need to launch that dialog-box before service function calls.
how to do that.
any examples to add mfc with service exe.
Posted

1 solution

Bad idea. The mechanism of Windows Services is not designed to show any UI: it is supposed to work when no users are logged in, so where to show it, to whom? Got the thought?

However, you can create a separate UI application communicating with your service via some kind of IPC (could be named pipes, sockets, etc.)

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900