Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
Can I develop a web service in VC++ with MFC and without using of .net framework?
Posted
Updated 10-Jan-15 18:19pm
v2
Comments
Richard MacCutchan 11-Jan-15 4:00am    
Yes. Let us know when it is finished.
You may also like to read http://www.codeproject.com/KB/FAQs/QuickAnswersFAQ.aspx.
Sergey Alexandrovich Kryukov 11-Jan-15 14:05pm    
Why? why?!
—SA

1 solution

One can develop such service with C++, for sure, but MFC is majorly unrelated here. MFC is mostly the wrapper around Windows API (very old, and, I would say, pretty clumsy, inconvenient) mostly targeted to Windows UI development. What of that would you use with the service? Classes like CString? :-) Makes no sense, really; would only make your work non-portable, with absolutely no benefits in return. Use standard C++ library instead.

—SA
 
Share this answer
 
Comments
Zon-cpp 12-Jan-15 1:05am    
I wrote several classes in VC++ and used CRecordSet, CString, CArray and some of other MFC classes. I want to use these my classes in a new project (web service). Then I cann't change all classes to use standard library.
I think , I should write web service in VC++ , without .Net framework (Unmanaged code). Is it correct? Is a simple Sample of web service in VC++ by Unmanaged code?
Sergey Alexandrovich Kryukov 12-Jan-15 1:13am    
Well, use them if you want, but better don't. There are different models for Web development, using .NET (ASP.NET or mod_mono), or unmanaged code. If you could, I would advise to use more powerful ASP.NET.
By the ways, please see: http://www.thecodingforums.com/threads/can-classic-asp-talk-to-c-c.803366.
—SA
Member 15070087 11-Feb-21 0:13am    
Como fazer o o upgrade do meu plano atual com disconto com o meus dias restante

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900