Solved

Adding MFC support to a ATL Service in VC7?

Posted on 2004-09-29
4
737 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
centeredAverage challenge 8 163
modThree challenge 4 90
How and where to get Business Intelligence Development Studio? 2 85
Work with App store 7 52
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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…

776 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