Error 42 When Trying to Interop with a C# Libary

John C via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 5 14:16:14 PDT 2016


On Saturday, 5 November 2016 at 21:02:14 UTC, Adam D. Ruppe wrote:
> coff2omf works with .obj files

Well, that's not what the docs say! 
http://www.digitalmars.com/ctg/coff2omf.html

   "The input files can be either object files (.obj) or library 
files (.lib)"

Apparently you have to convert them to an older COFF format first 
using Microsoft's linker. Not sure if I ever tried that though.


More information about the Digitalmars-d-learn mailing list