www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to declare a library .dll to import functions?

reply "Andrey" <none none.no> writes:
Hi, guys
I have translated some (infact, almost all) Oracle headers to D.

E.g. this:

extern(C):

sword OCINumberSub(    OCIError *err, const OCINumber *number1,
                        const OCINumber *number2, OCINumber 
*result    );

The problem is, that D's linger cannot link all this stuff to my 
solution.

What did I miss, guys?

Thank you!
May 25 2014
next sibling parent "Kagamin" <spam here.lot> writes:
If it's for 32-bit windows, convert oci import libraries to omf.
May 25 2014
prev sibling parent reply "Kagamin" <spam here.lot> writes:
http://forum.dlang.org/thread/dpaolp$1oek$1 digitaldaemon.com
May 25 2014
parent "Andrey" <lonelyhawk gmail.com> writes:
On Sunday, 25 May 2014 at 08:12:26 UTC, Kagamin wrote:
 http://forum.dlang.org/thread/dpaolp$1oek$1 digitaldaemon.com
Finally it works! Thank you! Does anybody need these headers?
May 25 2014