Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC8.0
How to add MFC code to the service? I have added the MFC code to the windows service.. It says:
 
Error 1 fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d] C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h 24
 

How to retify it and how to make the service to accept the MFC code in it?
Posted 26-Apr-11 3:12am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Seems you are statically trying to link MFC. If so either change the CRT settings or use dynamic MFC linking.
  Permalink  
Comments
Gokulnath007 at 26-Apr-11 8:22am
   
Could you please explain this, how to perform this. ?
Nishant Sivakumar at 26-Apr-11 8:24am
   
You can do it from project properties. It's fairly obvious once you bring up the UI.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

MCF Tech Solution www.mcftech.com a Global DEFAULTER of payment tries and does DECEIVE its vendor(s) after SNATCHING its requirements through various means. Even the same organisation PRETEND for being a loyal organisation, but in actual the MOTIVE is completely NEGATIVE to honour the agreed facts. EVEN they move back from the written commitments. We have been responded by some of the well wishers (who are equally DITCHED by MCF) about the critical details.
 

MCF Tech Solution is a really bigger SCAM company and cheater company.
  Permalink  
Comments
Gokulnath007 at 18-Jul-11 8:14am
   
Hello anshika,

It is about MFC and not MCF.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 195
1 Afzaal Ahmad Zeeshan 152
2 ProgramFOX 130
3 Maciej Los 130
4 den2k88 80
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,657
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 18 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100