Jump to content
Development

sspi error with TWSocket

Recommended Posts

Hi, 

I upgrade the ICS Overbyte version I used to be able to use this Library with RAD Studio 10.2 Tokyo (C++ Builder). I already have a version on a separare computer that works with Rad Studio XE5.

Since I add a TWSocket component on a form, I can't compile the project anymore. I have an error : You must define one of SECURITY_WIN32, SECURITY_KERNEL or SECURITY_MAC from sspi.h file. 

I Added #define SECURITY_WIN32 at the beginning of my project by the problem is not solved. 

Can you help me ?

 

Best regards, 

Share this post


Link to post

From the OverbyteIcsSspi.pas unit:

 

 **If you compile with BCB personality define SECURITY_WIN32 in the project options**

 

Angus

 

Share this post


Link to post

The SSPI stuff is only needed for NTLM authentication which the define UseNTLMAuthentication controls, so perhaps you had that disabled last time.

 

Angus

Share this post


Link to post

Finally, I didn't change anything in OverbyteIcsHttpProt.pas file.

I prefer to define SECURITY_WIN32 when required.

Thanks for your help.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×