开发者

Consuming a web service in a Visual C++ 2008 DLL

开发者 https://www.devze.com 2023-02-10 09:51 出处:网络
I need to call a third party Web Service from within a VC++ 2008 DLL. The DLL开发者_如何学JAVA is using MFC in a Shared DLL and it is not using ATL.

I need to call a third party Web Service from within a VC++ 2008 DLL.

The DLL开发者_如何学JAVA is using MFC in a Shared DLL and it is not using ATL.

In solution explorer the Add Web Reference item is grayed.

any suggestion?

thank you in advance

stefano


Since calling a WS in C# is trivial, first create a dll in C# wrapping the service call and expose it via COM interop to your C++ code. Even if it seems tricky is the less troubles way to go.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号