Error importing QlmHardware
Hello,
I am trying your solution within a simple C++/CLI program.
Everything is working fine and I can create, read and store new license keys.
However, I get an error when defining a QlmHardware object with : QlmHardware^ hw = gcnew QlmHardware();
There seems to be an error while importing QlmLicenseLib::QlmHardware from the assembly
'QlmLicenseLib, Version=10.0.17241.1, Culture=neutral, PublicKeyToken=9c65e32c060523a1'
Do you have a solution ? I am using Windows 7 64bits and Visual Studio Pro 2013.
Thank you.
Best regards,
Frederic.
-
Official comment
Hi Frederic
The LicenseValidator class already creates a hardware object that you can access without instantiating your own.
It's declared in LicenseValidator.h as IQlmHardwarePtr hardware;
Regards
John
Comment actions -
Hi John,
the hardware object is working in your C# example.
In my C++/CLI class, it doesn't though it is a simple extension of your class in another 'managed' language.
Also, I didn't really try your C++ example since it crashes at launch. It can be recompiled without error though.
Best regards,
Frederic.
-
Hi Frederic
I'd be happy to get on a screen sharing session to help diagnose this. If you would like to do so, please reply by sending an email to support@soraco.co.
Regards
John
Please sign in to leave a comment.
Comments
6 comments