I have a WCF Service. I need to call it from C++.
The solution can be using C# dll to call WCF and calling it from the C++ code. Or C++ dll directly calling WCF Remote Service.
EDIT : I have tried importing the C# dll into C++ file with the help of the follwing Code Project article. But In my C++ file I cant import like this :
#import "tlbfile.tlb" raw_interfaces_only named_guids
ERROR Cannot open source file tldfile.tlh
EDIT 2 : I have decided to use VC++. And made a C# dll to call the Web Service. But cant refer the dll in MFC Application.
Im running on VS 2012.