www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to properly link with a windws .lib file

reply OK <HerrSauronII lavabit.com> writes:
hello,

now I have written some code in first.d and added some extern(C) functions in
externs.d. How do I compile and link everything with
extern.lib ?

regards, Oliver
Sep 07 2010
parent Stanislav Blinov <stanislav.blinov gmail.com> writes:
OK wrote:
 hello,
 
 now I have written some code in first.d and added some extern(C) functions in
 externs.d. How do I compile and link everything with
 extern.lib ?
 
 regards, Oliver

Recently there was a pretty thorough discussion about this: http://www.digitalmars.com/d/archives/digitalmars/D/learn/Re_Can_t_get_D_calling_C_to_build._21318.html
Sep 07 2010