Linking D DLL to C
Kirk McDonald
kirklin.mcdonald at gmail.com
Tue May 23 16:41:53 PDT 2006
BCS wrote:
> First of all I'd try the using dmc/optlink instead of gcc. I haven't
> tried this but dmd on win does have some issues with object/lib file
> compatibility (at least with VS).
Interesting. That did it:
C:>dmc -c test2.c
C:>dmc test2.obj mydll.lib
link test2,,,mydll+user32+kernel32/noi;
C:>test2
hello dll world
Are there any plans to fix this? Is this perceived as a serious problem?
-Kirk McDonald
More information about the Digitalmars-d
mailing list