Missing #include
Missing #include
Hi,
again (For the third time) I had to patch your source files to run my project using SecureBridge.
I had to add
#include <Winsock.hpp>
to the file: ...\Devart\SecureBridge for RAD Studio XE8\Include\Win32\ScSSHSocket.hpp
Am I doing something wrong or were you not yet aware of this problem?
Best regards
Wolfgang
again (For the third time) I had to patch your source files to run my project using SecureBridge.
I had to add
#include <Winsock.hpp>
to the file: ...\Devart\SecureBridge for RAD Studio XE8\Include\Win32\ScSSHSocket.hpp
Am I doing something wrong or were you not yet aware of this problem?
Best regards
Wolfgang
Re: Missing #include
Сonfirm this.
When add :
in ScSSHSocket.hpp, all compiled without errors, otherwise:
[bcc32 Error] ScSSHSocket.hpp(79): E2316 'Winsock' is not a member of 'Winapi'
[bcc32 Error] ScSSHSocket.hpp(79): E2040 Declaration terminated incorrectly
-----
RS 10 Seattle
SB 6.6.9
When add :
Code: Select all
#include <Winsock.hpp>
[bcc32 Error] ScSSHSocket.hpp(79): E2316 'Winsock' is not a member of 'Winapi'
[bcc32 Error] ScSSHSocket.hpp(79): E2040 Declaration terminated incorrectly
-----
RS 10 Seattle
SB 6.6.9
Re: Missing #include
Yes exactly,
and not only with RS10 Seattle, also for the latest versions for XE8
and not only with RS10 Seattle, also for the latest versions for XE8
Re: Missing #include
Hi,
I also have to patch the source files. Please solve the problem !
Best regard,
Astrid
I also have to patch the source files. Please solve the problem !
Best regard,
Astrid
Re: Missing #include
We will fix this issue in the next build of SecureBridge.
Re: Missing #include
win7 Pro x32
RS 10 Seattle
SB 7.0.1
In version 7.0.1 now copile error:
[bcc32 Error] ScSSHSocket.hpp(79): E2316 'Winsock' is not a member of 'Winapi'
In the file: ...\Devart\SecureBridge for RAD Studio XE8\Include\Win32\ScSSHSocket.hpp :
1. I had to add
2. comment string:
Now all compile.
RS 10 Seattle
SB 7.0.1
In version 7.0.1 now copile error:
[bcc32 Error] ScSSHSocket.hpp(79): E2316 'Winsock' is not a member of 'Winapi'
In the file: ...\Devart\SecureBridge for RAD Studio XE8\Include\Win32\ScSSHSocket.hpp :
1. I had to add
Code: Select all
#include <Winsock.hpp>
Code: Select all
#include <winsock2.h>
Code: Select all
#include <Winsock.hpp>
//#include <winsock2.h>
Re: Missing #include
We are now trying to solve the issue, since behavior of С++ Builder compiler differs depending on version.
Re: Missing #include
win7 Pro x64
RS 10.1 Berlin
SB 7.1.2
In version 7.1.2 now copile error:
[bcc32 Error] ScSSHSocket.hpp(80): E2316 'Winsock' is not a member of 'Winapi'
In the file: ...\Devart\SecureBridge for RAD Studio 10.1\Include\Win32\ScSSHSocket.hpp
change:
Now all compile.
Only I have that problem?
RS 10.1 Berlin
SB 7.1.2
In version 7.1.2 now copile error:
[bcc32 Error] ScSSHSocket.hpp(80): E2316 'Winsock' is not a member of 'Winapi'
In the file: ...\Devart\SecureBridge for RAD Studio 10.1\Include\Win32\ScSSHSocket.hpp
change:
Code: Select all
//#include <winsock2.h>
#include <Winapi.WinSock.hpp>
Only I have that problem?
-
- Posts: 6
- Joined: Fri 12 Feb 2016 17:19
Re: Missing #include
Hello,
Having the same problem as everyone else in this post.
Upgraded to SecureBridge 8.0.1.
Added
#include <Winapi.WinSock.hpp>
before the line
#include <winsock2.h>
in Scsshsocket.HPP
Thanks for an otherwise excellent component!
-tk
Having the same problem as everyone else in this post.
Upgraded to SecureBridge 8.0.1.
Added
#include <Winapi.WinSock.hpp>
before the line
#include <winsock2.h>
in Scsshsocket.HPP
Thanks for an otherwise excellent component!
-tk
Re: Missing #include
//#include <winsock2.h>
#include <Winapi.WinSock.hpp>
It has not be fixed for SecureBridge 8.1.2 (05-Oct-2017). Please.
#include <Winapi.WinSock.hpp>
It has not be fixed for SecureBridge 8.1.2 (05-Oct-2017). Please.
Re: Missing #include
Possible issue solutions for different versions of C ++ Builder are listed above. The error cause is not in the SecureBridge code, but that С++ Builder compiler differs depending on version.