How do you access Definitions in precompiled .lids

BlitzMax Forums/BlitzMax Programming/How do you access Definitions in precompiled .lids

There is also a tool in mingw/bin that will so some sort of conversion from lib to a. I wouldn't advise either myself.

Works well for me.
If you have a .lib to begin with, you run it through a program to get a .def
With a .def, you run it through another program to get a .a, to which you can link to in Max.

Depending on how the definitions are described (with @num for MSVC), you might have to Extern "win32".

In my notes for my MySQL database driver, I include this:
reimp -d libmysql.lib
dlltool -k -d libmysql.def -l libmysql.a

so I don't for get how to get from one to the other. :-)


No idea what all that GetProcAddress is all about. Seems messy to me. What's it for? Why do you need it?