Solved

Adding MFC support to a ATL Service in VC7?

Posted on 2004-09-29
4
735 Views
Last Modified: 2013-11-25
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
Comment
Question by:TYB
  • 2
4 Comments
 

Author Comment

by:TYB
ID: 12178500
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
 
LVL 6

Assisted Solution

by:Amritpal Singh
Amritpal Singh earned 125 total points
ID: 12179548
plz have a look at the following link

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

may be it can help
0
 
LVL 2

Accepted Solution

by:
raed_hasan earned 125 total points
ID: 12183267
0
 

Author Comment

by:TYB
ID: 12192152
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now