문제

I did a project based on MFC, it has GUI of course. Now i need to change it to non-Gui. So, whenever i start build the project, it should run in the background rather to show GUI.

I hope my question is clear. Kindly suggest me . thanks

도움이 되었습니까?

해결책

It's not the easiest thing to do as a retrofit. Easiest approach would be to make the UI hidden by using ShowWindow(SW_HIDE) on the main window (and any secondary windows and the equivalent for any other UI elements).

다른 팁

Why don't you simply create conslole application with MFC support and make it a Windows seervice?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top