Development 0 Posted June 18, 2019 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
Angus Robertson 577 Posted June 18, 2019 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
Development 0 Posted June 18, 2019 OK. I define SECURITY_WIN32 in each .h files and the problem is solved. Thanks so much. Share this post Link to post
Angus Robertson 577 Posted June 18, 2019 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
Development 0 Posted June 19, 2019 I never use this NTLM controls. Where I can change NTLM authentification ? Thanks, Share this post Link to post
Angus Robertson 577 Posted June 19, 2019 Define UseNTLMAuthentication is in OverbyteIcsHttpProt.pas. Angus Share this post Link to post
Development 0 Posted June 20, 2019 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