[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 746
  • Last Modified:

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?
0
TYB
Asked:
TYB
  • 2
2 Solutions
 
TYBAuthor Commented:
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"
0
 
Amritpal SinghCommented:
plz have a look at the following link

http://www.codeproject.com/dotnet/atlmacros.asp

may be it can help
0
 
TYBAuthor Commented:
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....
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now