Re: [twsocket] unable to link design time CB2007 as missing external file 'crypt32'

2018-02-24 Thread Angus Robertson - Magenta Systems Ltd
> These appear to external references to crypt32, yet I don't have 
> that file (I believe).

OverbyteIcsMsSslUtils is used to verify SSL certificates using the
Windows certificate store, if you don't need that functionality you can
remove it.  Most SSL samples don't use it.  

But if you do use it, it needs several other units: 

OverbyteIcsWinCrypt.pas, OverbyteIcsJwaWinCrypt.inc, and
OverbyteIcsCryptuiApi.pas, there were Jedi files that Arno copied for
our use, and I renamed to ICS format to avoid conflicts. These units
import from Cryptui.dll, but not crypt32 to my knowledge. 

None of this stuff has changed in a few years, except
OverbyteIcsCryptuiApi.pas which says: 

5 Oct 2017 - only compile for Windows   

and that V8.50 or later, so maybe look there. 

Angus



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] unable to link design time CB2007 as missing external file 'crypt32'

2018-02-24 Thread Paul Read

correction needed to add both:

#pragma link "crypt32.lib"
#pragma link "cryptui.lib"

Paul

On 24/02/2018 14:00, Paul Read wrote:

Thanks Richard & Jarek

I added
#pragma link "crypt32.lib"

to \Packages\OverbyteIcsCB2007Design.cpp

and that sorted it.

Can that be made a permanent addition please?  Assuming no negative 
impact to anyone else


Cheers

Paul

On 24/02/2018 12:02, Jarek Karciarz wrote:

I dont use CB2007 anymore however I can see your objects are located in
D2007 folders. Are you using Delphi packages compiled for both Delphi 
and
C++ Builder or dedicated C++ Builder packages? If the last ones then 
please

check your OBJ output directory.


Pozdrawiam

Jarek Karciarz
OSITRON

-Original Message-
From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf 
Of Paul

Read
Sent: Saturday, February 24, 2018 12:31 PM
To: twsocket@lists.elists.org
Subject: [twsocket] unable to link design time CB2007 as missing 
external

file 'crypt32'

Numerous linker messages like this:

[ilink32 Error] Error: Unresolved external 
'CertFreeCertificateChainEngine'

referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Unresolved external 'CertFreeCertificateChainEngine'
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Error: Unresolved external 'CertFreeCertificateContext'
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ


These appear to external references to crypt32, yet I don't have that 
file

(I believe).

Last version I built without issue was ICS v8.49 with Borland C++ 2007,
currently overbyte.eu seems to be down so can't try any versions between

Any suggestions?
Paul Read

--
To unsubscribe or change your settings for TWSocket mailing list 
please goto

http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be





--
*Paul Read*
Partner
nSolve Ltd <http://www.nsolve.com/?empr>
Tel: +44 (0)1993 402011
Tel (US): +1 617-307-1737
nSolve <http://www.nsolve.com/?emdp> nCall 
<http://www.nsolve.com/nCall-overview.shtml?emdp>


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] unable to link design time CB2007 as missing external file 'crypt32'

2018-02-24 Thread Paul Read

Thanks Richard & Jarek

I added
#pragma link "crypt32.lib"

to \Packages\OverbyteIcsCB2007Design.cpp

and that sorted it.

Can that be made a permanent addition please?  Assuming no negative 
impact to anyone else


Cheers

Paul

On 24/02/2018 12:02, Jarek Karciarz wrote:

I dont use CB2007 anymore however I can see your objects are located in
D2007 folders. Are you using Delphi packages compiled for both Delphi and
C++ Builder or dedicated C++ Builder packages? If the last ones then please
check your OBJ output directory.


Pozdrawiam

Jarek Karciarz
OSITRON

-Original Message-
From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Paul
Read
Sent: Saturday, February 24, 2018 12:31 PM
To: twsocket@lists.elists.org
Subject: [twsocket] unable to link design time CB2007 as missing external
file 'crypt32'

Numerous linker messages like this:

[ilink32 Error] Error: Unresolved external 'CertFreeCertificateChainEngine'
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Unresolved external 'CertFreeCertificateChainEngine'
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Error: Unresolved external 'CertFreeCertificateContext'
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ


These appear to external references to crypt32, yet I don't have that file
(I believe).

Last version I built without issue was ICS v8.49 with Borland C++ 2007,
currently overbyte.eu seems to be down so can't try any versions between

Any suggestions?
Paul Read

--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be



--
*Paul Read*
Partner
nSolve Ltd <http://www.nsolve.com/?empr>
Tel: +44 (0)1993 402011
Tel (US): +1 617-307-1737
nSolve <http://www.nsolve.com/?emdp> nCall 
<http://www.nsolve.com/nCall-overview.shtml?emdp>


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] unable to link design time CB2007 as missing external file 'crypt32'

2018-02-24 Thread Richard Gallois
I've added crypt32.lib to my Builder project. I can't remember why I had to
do this, but I've had it there for a long time. The lib file is found at
C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release\psdk for
Builder 10 Seattle. It will be in a similar location of CB7. This should
eliminate the linker errors.

Richard

On 24 February 2018 at 11:30, Paul Read  wrote:

> Numerous linker messages like this:
>
> [ilink32 Error] Error: Unresolved external 'CertFreeCertificateChainEngine'
> referenced from C:\DEV\CMP\ICS\LIB\DEBUG\WIN32
> \D2007\OVERBYTEICSMSSSLUTILS.OBJ
> [ilink32 Error] Unresolved external 'CertFreeCertificateChainEngine'
> referenced from C:\DEV\CMP\ICS\LIB\DEBUG\WIN32
> \D2007\OVERBYTEICSMSSSLUTILS.OBJ
> [ilink32 Error] Error: Unresolved external 'CertFreeCertificateContext'
> referenced from C:\DEV\CMP\ICS\LIB\DEBUG\WIN32
> \D2007\OVERBYTEICSMSSSLUTILS.OBJ
>
>
> These appear to external references to crypt32, yet I don't have that file
> (I believe).
>
> Last version I built without issue was ICS v8.49 with Borland C++ 2007,
> currently overbyte.eu seems to be down so can't try any versions between
>
> Any suggestions?
> Paul Read
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] unable to link design time CB2007 as missing external file 'crypt32'

2018-02-24 Thread Jarek Karciarz
I dont use CB2007 anymore however I can see your objects are located in
D2007 folders. Are you using Delphi packages compiled for both Delphi and
C++ Builder or dedicated C++ Builder packages? If the last ones then please
check your OBJ output directory.


Pozdrawiam

Jarek Karciarz
OSITRON

-Original Message-
From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Paul
Read
Sent: Saturday, February 24, 2018 12:31 PM
To: twsocket@lists.elists.org
Subject: [twsocket] unable to link design time CB2007 as missing external
file 'crypt32'

Numerous linker messages like this:

[ilink32 Error] Error: Unresolved external 'CertFreeCertificateChainEngine'
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Unresolved external 'CertFreeCertificateChainEngine' 
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Error: Unresolved external 'CertFreeCertificateContext' 
referenced from
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ


These appear to external references to crypt32, yet I don't have that file
(I believe).

Last version I built without issue was ICS v8.49 with Borland C++ 2007,
currently overbyte.eu seems to be down so can't try any versions between

Any suggestions?
Paul Read

--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] unable to link design time CB2007 as missing external file 'crypt32'

2018-02-24 Thread Paul Read

Numerous linker messages like this:

[ilink32 Error] Error: Unresolved external 
'CertFreeCertificateChainEngine' referenced from 
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Unresolved external 'CertFreeCertificateChainEngine' 
referenced from 
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ
[ilink32 Error] Error: Unresolved external 'CertFreeCertificateContext' 
referenced from 
C:\DEV\CMP\ICS\LIB\DEBUG\WIN32\D2007\OVERBYTEICSMSSSLUTILS.OBJ



These appear to external references to crypt32, yet I don't have that 
file (I believe).


Last version I built without issue was ICS v8.49 with Borland C++ 2007, 
currently overbyte.eu seems to be down so can't try any versions between


Any suggestions?
Paul Read

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be