I have a situation where it\'s helpful for performance that I get the number of exported objects in a DLL (dynamically-loaded library) in order to pre-allocate memory.