Bad Dll Calling Convention

Could be caused by a lot of different reasons
Function returning more than 250 characters
Broken library reference
Parameter or return type mismatch
A dll wants ByVal but you are passing ByRef


Solution

Export all the code to a folder
Save and close the workbook
Import all your code
Recompile and save



© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrev