How cleanly does it have to be done?
You could call pexports from the command line and then parse the .def file it creates.
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?
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?