Static linking of Bassmod in Delphi | Life In Hex DLL LIB OBJ

 https://lifeinhex.com/static-linking-of-bassmod-in-delphi/

 Static linking of Bassmod in Delphi

Convert DLL to LIB

Well, this step is easy. Use DLL2LIB (google "DLL.To.Lib.v1.42.Full.Retail-DLL2Lib" or get trial version from official site), leave all the default settings and press "Start convert".


Extract OBJ files from LIB

For next few steps you'll need objconv.exe by Agner Fog. It's better to download the latest version, as earlier versions didn't support extracting LIB files.

It's a simple command objconv.exe -lx bass.lib
Convert COFF OBJ files to OMF OBJ files

That's also simple. Just run objconv.exe -fomf bass.obj bass-omf.obj
Make those OMF files usable by Delphi

留言

這個網誌中的熱門文章

Kastri - Cross-platform library for Delphi

開機管理 PLOP Bootloader Plop Boot Manager USB Bootable portable

simplifies delphi VCL Libraries General Libraries simplifie Lightweight delphi VCL Libraries General Libraries standard libraries