From: Steve Brokenshire Date: Thu, 12 May 2016 20:09:38 +0000 (+0100) Subject: Win32 support: Added code to load up the Security Interface. X-Git-Tag: release-0.13~39 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=22b8ca55a26f3d7a1e2b965560debea63fceaee5 Win32 support: Added code to load up the Security Interface. --- diff --git a/source/main.cpp b/source/main.cpp index a49b96b..e46abb4 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -39,6 +39,10 @@ #include "common/defaults.h" #include "common/dirs.h" +#if defined(__WIN32__) +#include "common/win32ssl.h" +#endif + class XestiaABApp: public wxApp { virtual bool OnInit(); @@ -49,6 +53,13 @@ IMPLEMENT_APP(XestiaABApp); bool XestiaABApp::OnInit() { +#if defined(__WIN32__) + + PSecurityFunctionTableW SecurityFunctionTbl; + SecurityFunctionTbl = (*InitSecurityInterface)(); + +#endif + // Setup the locale. wxLocale locale;