Hi All,
We have a ACE server which listens to specified port on given IP and sends the required response to the server. This ACE server works correctly as a console application. But it gives problems when we try to integrate this ace server code in service program developed using ATL COM AppWizard.
Firstly, it was giving the following error "c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>". When searching for the solution, in some of the forums we found that changing the order in which header files are included will resolve the above error.
Even after resolving the above error, we ACE server doesn't run as desired. It returns an error while opening the port.
Can anyone please help me find the solution?