I was trying a Windows application with ICS in Linux, using WineHQ, and 
it refused to even start.
I tracked the problem to the initialization of the OverbyteIcsNtlmSsp 
unit, LoadSecPackage procedure.

      pInit := GetProcAddress(SecPackageHandle, SECURITY_ENTRYPOINT);
      if not Assigned(pInit) then
        raise Exception.Create('Couldn''t init security package');

I suppose WineHQ api don't implement yet the SECURITY_ENTRYPOINT 
function but the problem here arrive by the use of unhandled exceptions 
in unit initialization.
If exception raised, the exception error message will not show up and 
the application simple alt with a generic runtime error 217.
I think it will be best to just raise the exception later, when, and if, 
the application try to use the TNtlmAuthSession object, and imports not 
assigned.

Regards,
Rui
-- 
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

Reply via email to