How include afx.h and afxctl.h ... in LaunchWindows.cpp in 'Launch' Module

I want that Launch support ActiveX, but because /D _WINDLL is used when Launch is compiled into dll, I could not redefine dllmain. So I could only code ActiveX with mfc. But to do like this, there would be many errors produced when including afx.h, afxctl.h afxext.h. etc header files. So what should I do;