i assume this dll is from an external company and you have no access to the source code?
as there is no way to tell what is happening within the dll, you would need to refer it back to the writer of the dll

if the wrong result is always consistent, it may be possible to convert the values inserted into excel, using VBA in the worksheet change event