How to add MFC code to the service? I have added the MFC code to the windows service.. It says:
Error 1 fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d] C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h 24
How to retify it and how to make the service to accept the MFC code in it?