[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 744
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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