Link to home
Start Free TrialLog in
Avatar of TYB
TYB

asked on

Adding MFC support to a ATL Service in VC7?

Hi there!

I´m trying to add MFC support to a ATL Service in VC7 but it doesn´t seem to be the same way you do it in VC6, anyone knows howto?
Avatar of TYB
TYB

ASKER

when I include MFC support in StdAfx.h,

#include <afxwin.h>   // MFC core and standard components
#include <afxext.h>   // MFC extensions
#include <afxdisp.h>  // MFC Automation extensions

then i get the following line in the compiler:

"error C3358: 'CAtlServiceModuleT': symbol not found"
SOLUTION
Avatar of Amritpal Singh
Amritpal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TYB

ASKER

For those who wants to know...the easist way it to create your own NTService and throw out ATL and support MFC. Check out www.codeproject.com..I did iand it solved the problem.

Tnx for the answer anyway guys....