New API functions for loading external dlls