I'm writing a Windows service (to operate a binary file) use C++ standard library in Visual Studio 2015 and I want to re-write some functions are developed in MFC. I have a question that how can I rewrite (or use another instead) class CObject
that used in the MFC application.
Asked
Active
Viewed 137 times
0

Siro
- 1
- 1
-
2Why do you want to do it? MFC works perfectly with ATL, STL COM and every mixed environment... – xMRi Dec 02 '17 at 13:27
-
@xMRi MFC does not work inside a Windows Service. – Michaël Roy Dec 02 '17 at 15:51
-
2Sure it does. One of the most famous frameworks for services from PJ Naughter was first designed to work with MFC. I have at least four services that contain a bunch of MFC code! – xMRi Dec 02 '17 at 19:04
-
I've saw in [here](https://stackoverflow.com/questions/1163905/using-mfc-in-windows-service) that maybe it's difficult to use MFC in windows service. And as I know MFC is an old and death technology so I want to rewrite my funtions using standard library or maybe ATL. – Siro Dec 03 '17 at 01:47
-
Today MFC is still not a death technology: See [link](https://blogs.msdn.microsoft.com/vcblog/2017/02/27/happy-25th-birthday-mfc/) – Tom Tom Dec 06 '17 at 16:22