I am hoping that I will be able to use
Metakit from within Lua. Unfortunately, for the Windows platform, the Metakit source is only intended for the Visual C++ family. I have to use
MingW.
This page gives
an instruction on how to do it. What I did not know is that in the Visual C++ world, there is a library called "import library," which the MingW toolchain does not need. From the above page:
The import library created by the "--out-implib" linker option is required iff (==if and only if) the DLL shall be interfaced from some C/C++ compiler other than the MinGW toolchain. The MinGW toolchain is perfectly happy to directly link against the created DLL.