Certificate problem in Borland C++ Builder - WeOnlyDo Discussion board

Certificate problem in Borland C++ Builder (wodWebServer / wodWebServer.NET)

by paul draper, Friday, August 19, 2005, 18:02 (7035 days ago)

Hi,

I've been trying to get wodWebServer working in secure mode.

I have generated a test certificate, which I then load ie.

Cert = new TCertificate(NULL);
Cert->Load((WideString) paul.cer );
Cert->LoadKey((WideString) paul.key );

when I try to assign the certificate to the webServer object, as implied in the code snippets (in other languages):

FServer->Certificate = Cert;

I get a compilation error:

Cannot convert 'TCertificate*' to 'IDispatch*'

I tired every type of casting combination Imaginable but with no luck.

Any thoughts would be greatly appreciated.

Thanks
Paul.


Complete thread: