-
Content Count
16 -
Joined
-
Last visited
Community Reputation
0 Neutral-
C++ ICS v8.70 {$HPPEMIT missing ;
nSolvePaul replied to nSolvePaul's topic in ICS - Internet Component Suite
Correction: we remain welded to C++ but we tried building ICS using Delphi rather than CBuilder but as yet I've not confirmed it works for us -
C++ ICS v8.70 {$HPPEMIT missing ;
nSolvePaul replied to nSolvePaul's topic in ICS - Internet Component Suite
Hi Angus Thanks for checking. We actually starting using the Delphi build a few months back, instead of our usual C++ means (having move from CB2007 to RADS 11), But we are facing an issue where TWSocket is NOT receiving anything. So I wanted to build ICS using C++ again to prove that is not the issue, however the our C++ exe now has a link error stating unable to find OVERBYTEICSWSOCKETS.OBJ (with the ics C++, yet it is most definitely in the bpls and the bpls are linked in). A long way of saying currently I'm NOT able to prove the ICS C++ projects are valid - I'll keep trying though. -
C++ ICS v8.70 {$HPPEMIT missing ;
nSolvePaul replied to nSolvePaul's topic in ICS - Internet Component Suite
see the comment: { Mar 4, 2019 V8.60 - added ; to end of HPPEMIT typedef lines to keep CB2007 happy } they have disappeared again 😞 -
Please can you include the trailing ; in the file OverbyteIcsJwaWinCrypt.inc e.g: {$HPPEMIT 'typedef HCRYPTPROV *PHCRYPTPROV'} -> {$HPPEMIT 'typedef HCRYPTPROV *PHCRYPTPROV;'}
-
ics 8.67 and BCB 2007 OverbyteIcsSuperObject.hpp gives [BCC32 Error] : F1004 Internal compiler error at 0x7300800 with base 0x72d0000
nSolvePaul replied to nSolvePaul's topic in ICS - Internet Component Suite
Thanks for quick replay Angus. The HPP files are automatically built during the build of the library (I'm sure you know this) The same issue existed on a second computer, the resolution being the same. Though as mentioned many moons ago we have many many steps to get ICS to build on BCB2007 - most of the steps involving commenting out stuff in the headers and that was what made this issue very odd - I had to add stuff back! We are moving to Embarcadero C++ 10.4.2 so hopefully much of this will go away -
After a lot of faffing and comparison I found that if OverbyteIcsSuperObject.hpp does NOT include class PASCALIMPLEMENTATION TSuperWriterSock : public TSuperWriter BCB2007 gives an F1004 Internal compiler error at 0x7300800 with base 0x72d0000 Adding this class defn back enabled our application to build again No idea why Is it still even relevant?
-
sslOpt_NO_TLSv1 seems to have no effect
nSolvePaul replied to nSolvePaul's topic in ICS - Internet Component Suite
Setting SslMinVersion sorted it - thank you -
A client reports that allow TLSv1.0 is a security issue. So I set my SslOptions accordingly: m_pSslContext->SslOptions = m_pSslContext->SslOptions << sslOpt_NO_SSLv2 << sslOpt_NO_SSLv3 << sslOpt_NO_TLSv1 << sslOpt_CIPHER_SERVER_PREFERENCE //When choosing a cipher, use the server's preferences instead of the client preferences. << sslOpt_SINGLE_DH_USE; //single DH needed for perfect forward secrecy However I'm still getting a TLSv1.0 connection (using 'openssl s_client -connect mywebsite.com:22017 -tls1') What is the correct manner to disable a TLSv1.0 connection (and any tips on how to prove I've disabled it please) Thanks
-
OverbyteIcsSslX509Certs.pas SaveToCADatabase CertFName = 'unknown' can the unknown be remove please
nSolvePaul replied to nSolvePaul's topic in ICS - Internet Component Suite
Oops wrong unit: OverbyteIcsSslX509Utils.pas However I'll do as you suggest -
Automatically order, download and install SSL/TLS certificates
nSolvePaul replied to Angus Robertson's topic in ICS - Internet Component Suite
{ Next symbol enables automatic SSL/TLS ordering in SocketServer and other servers } { Unfortunately this adds a lot of other units, HTTPS REST, Json, OAuth2, etc } {$DEFINE AUTO_X509_CERTS} I wished to use the library without this functionality. However when I remove the AUTO_X509_CERTS the library no longer builds in Borland C++ 2007 instead I'm forced to leave it in and also I then need to link to: #pragma link "Crypt32.lib" #pragma link "Cryptui.lib" in my application. -
OverbyteIcsJwaWinCrypt.inc missing ';' in the HPPEMIT
nSolvePaul replied to nSolvePaul's topic in ICS - Internet Component Suite
I can only test BCB 2007 I'm afraid -
OverbyteIcsJwaWinCrypt.inc missing ';' in the HPPEMIT
nSolvePaul posted a topic in ICS - Internet Component Suite
{$HPPEMIT 'typedef HCRYPTPROV *PHCRYPTPROV'} {$HPPEMIT 'typedef HCRYPTKEY *PHCRYPTKEY'} {$HPPEMIT 'typedef HCRYPTHASH *PHCRYPTHASH'} {$HPPEMIT 'typedef PROV_ENUMALGS *PPROV_ENUMALGS'} {$HPPEMIT 'typedef PROV_ENUMALGS_EX *PPROV_ENUMALGS_EX'} {$HPPEMIT 'typedef PUBLICKEYSTRUC *PPUBLICKEYSTRUC'} {$HPPEMIT 'typedef RSAPUBKEY *PRSAPUBKEY'} {$HPPEMIT 'typedef DSSSEED *PDSSSEED'} {$HPPEMIT 'typedef PUBKEYVER3 *PPUBKEYVER3'} {$HPPEMIT 'typedef DHPRIVKEY_VER3 *PPRIVKEYVER3'} {$HPPEMIT 'typedef CERT_FORTEZZA_DATA_PROP *PCERT_FORTEZZA_DATA_PROP'} {$HPPEMIT 'typedef HCRYPTMSG *PHCRYPTMSG'} {$HPPEMIT 'typedef CMSG_RECIPIENT_ENCODE_INFO *PCMSG_RECIPIENT_ENCODE_INFO'} {$HPPEMIT 'typedef _CMSG_RECIPIENT_ENCODE_INFO CMSG_RECIPIENT_ENCODE_INFO'} {$HPPEMIT 'typedef PCMSG_KEY_AGREE_KEY_ENCRYPT_INFO *PPCMSG_KEY_AGREE_KEY_ENCRYPT_INFO'} {$HPPEMIT 'typedef HCERTSTORE *PHCERTSTORE'} {$HPPEMIT 'typedef PCCERT_CONTEXT *PPCCERT_CONTEXT'} {$HPPEMIT 'typedef PCCRL_CONTEXT *PPCCRL_CONTEXT'} {$HPPEMIT 'typedef PCERT_CHAIN_CONTEXT *PPCCERT_CHAIN_CONTEXT'} can you add a trailing ';' to these statements please {$HPPEMIT 'typedef HCRYPTPROV *PHCRYPTPROV;'} as Borland CBuilder 2007 needs them Thanks PS is this the correct manner to report bugs/code change requests? -
OverbyteIcsCryptUiApi.pas contains this line: {$HPPEMIT '#include <OverbyteIcscryptuiapi.h>'} but I can not find that file so I just comment it out. Is that a valid thing to do or am I missing something critical? (Note I've not got a working 8.58 build yet so the issue may resolve it self as once I have a working solution)
-
nSolvePaul changed their profile photo
-
Registration postcard - what's the address to send to?
nSolvePaul posted a topic in ICS - Internet Component Suite
Please can you remind me of the address to send my 'registration' postcard thanks