Error creating the add-in from the DLL "*.dll" Cause: The operation was cancelled by the user

Has anyone seen this?

image

AddAddIns API call from a standalone.

I haven’t encountered this situation before