Got an issue where certain functions aren't being resolved and hence are null when being invoked. Need to debug the loading of the DLL to see why this is the case.