Importing a DLL

Jeremy DeHaan via digitalmars-d-ldc digitalmars-d-ldc at
Mon Nov 2 16:38:55 PST 2015

On Monday, 2 November 2015 at 22:27:59 UTC, AnoHito wrote:
> Hi, I was wondering what the correct way to import a DLL is 
> when building with LDC. I tried implib, but I got a "invalid or 
> corrupt file" error when the linker got to the lib file.

For ldc, it'll need ab MSVC import library in order to link 
correctly. Implib is for making a Digital Mars styled import 

More information about the digitalmars-d-ldc mailing list