开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜