HI Anthony,
Thank you for the update.
Please use the feature ID instead of product ID as the sessions are created on feature ID of the license key.
Hopefully, this should resolve the problem as it explains the reason behind HASP_INV_HND error.
Kindly keep us posted with the results.
Regards,
Parth Kaushik