Secure Bridge with C++ builder

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
bipbip59
Posts: 5
Joined: Wed 03 Apr 2019 14:07

Secure Bridge with C++ builder

Post by bipbip59 » Wed 03 Apr 2019 15:33

Hello,
I am testing SecureBridge with RAD Studio 10.1 (Berlin)

If I just go to a new VCL (C ++ Bulider) project, and I just put the TSCSSHClient component on the form.
I can't build.

I have an error in ScSSHSocket.hpp:

__fastcall TIPEndPoint (Winapi :: Winsock :: PSockAddrIn SockAddr);

[bcc32 Error] ScSSHSocket.hpp (78): E2316 'Winsock' is not a member of 'Winapi'

Can you help me please?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Secure Bridge with C++ builder

Post by ViktorV » Thu 04 Apr 2019 09:02

This is a known problem of the С++ Builder compiler, and we can't influence it. For successful compilation, please try to add #include <Winapi.WinSock.hpp> before the line #include <winsock2.h> in ScSSHSocket.hpp

bipbip59
Posts: 5
Joined: Wed 03 Apr 2019 14:07

Re: Secure Bridge with C++ builder

Post by bipbip59 » Thu 04 Apr 2019 09:26

Thank's !
it's work

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Secure Bridge with C++ builder

Post by ViktorV » Thu 04 Apr 2019 15:02

It is good to see that the problem has been solved.
Feel free to contact us if you have any further questions about our products.

Post Reply