Getting dll function exports (win32)

BlitzMax Forums/BlitzMax Programming/Getting dll function exports (win32)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

How cleanly does it have to be done?

You could call pexports from the command line and then parse the .def file it creates.

pexports mydll.dll >mydll.def


It's not very clean though, because you're going to have a command window popup while you're doing it. I assume you need to programatically grab the function names, right? Like you're letting people write DLL's for a certain purpose and you need your base program to be able to find the names of the functions?