How are windows import library created
kiskami
kiskami at freemail.hu
Thu Jan 10 11:13:02 PST 2013
Hi, im no expert in this, but my workflow used to be the
following:
Windows (vc) lib conversion to a dmd linkable one:
1. def file generation, from windows lib: coffimplib.exe -e
ecl.lib
2. edit def file for the missing symbols, for ex: _SDL_Init =
SDL_Init ==> _SDL_Init at 4 = SDL_Init
3. update lib: implib.exe SDL.lib SDL.def
In a recent project I only needed the 1. and 3. points, and to
use extern (C), because the def file was ok!
More information about the Digitalmars-d-learn
mailing list