Page 1 of 1

Secure Bridge with C++ builder

Posted: Wed 03 Apr 2019 15:33
by bipbip59
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?

Re: Secure Bridge with C++ builder

Posted: Thu 04 Apr 2019 09:02
by ViktorV
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

Re: Secure Bridge with C++ builder

Posted: Thu 04 Apr 2019 09:26
by bipbip59
Thank's !
it's work

Re: Secure Bridge with C++ builder

Posted: Thu 04 Apr 2019 15:02
by ViktorV
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.