64 bit types and C libraries

Daniel919 Daniel919 at web.de
Tue May 22 08:21:54 PDT 2007


Hi, some time ago I already used bcd 
(http://www.dsource.org/projects/bcd/) to successfully convert the 
openssl headers to d.

It's working. The only problem is that bcd doesn't convert the macros 
from the .h files, so that I had to manually resolve them:
in C: SSL_CTX_set_options(ctx, SSL_OP_ALL);
in D: SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(SSL_OP_ALL),null);

If you didn't know bcd then you should check it out, since
it might save you a lot of work. I know the openssl headers are very 
extensive.

Best regards,
Daniel


More information about the Digitalmars-d-learn mailing list