Hello,
I followed the recommended threads on linking windows Dlls
Using the described tool "coffimplib" I was able to link to executables.
However, sometimes when using function from the windows library I get :
object.Error: Access Violation
during execution.
Is this problem known to someone and
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
Hello again,
I know the extern(C) mechanism, but how do I actually load a C-dll
such that my D-program has access to the functions of the C/C++ dll.
regards,
Oliver
To answer my own post :
the problems vanish when I add a main() method.
question : how do I automagically add a standard main method ?
regards, Oliver