Connect unmanaged C ++ to WCF using TCP binding

I have a WCF server written in C # and use netTCPBinding to communicate with clients. Now I want my unmanaged C ++ client to connect to the same WCF server. Is it possible? C ++ clients can have the same functions as C # clients? If possible, how can I do this? I read something about creating a dll bridge between C ++ Client and C # Server, but the tutorial is pretty old and all the templates are missing in Visual Studio 2013 Express.

+2
source share
1 answer

Take a look at the Windows WEB services API:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd430435%28v=vs.85%29.aspx - main page

http://msdn.microsoft.com/en-us/library/windows/desktop/ee354195%28v=vs.85%29.aspx -

, ++ # WCF:

http://www.codeproject.com/Articles/38535/A-first-look-at-the-Windows-Web-Services-API

, WCF . WCF , , , , WWS API. ( ) . () WCF void WWS API. callback inteface / . WWS, , .

: WWS-WCF WWS SDK # PInvoke. WWS-WCF, WCF, .

: .NET ++. WCF .NET. , #, WCF, ++.

+4

Source: https://habr.com/ru/post/1608988/


All Articles