c++builderborland-c++c++builder-10.2-tokyo

What's the difference between IMPLIB and MKEXP in C++Builder to create import libraries?


After asking how to use PathCchCanonicalizeEx with C++Builder 10.2, I was told to create missing import libraries using the tools IMPLIB or MKEXP. I've tested both apps and they are creating lib files based on KernelBase.dll of my Windows 10. Though, both file contents look different, they start with different headers, are differently large overall etc. MKEXP documents to Creates an import archive from an input file, but doesn't seem to explain what that actually means.

So, when to use which of the both tools? What is the difference in purpose, how they work, possibly what they do support, etc?


Solution

  • IMPLIB is for generating an import lib for a 32bit DLL.

    MKEXP is for generating an import lib for a 64bit DLL.