Demo License not working for Borland C++ Builder 4.0
Demo License not working for Borland C++ Builder 4.0
Can anyone tell me why the demo liscense for GDTwain will not work for Borland C++ builder 4.0? I ran the sample code for VB and it worked fine for it. I tried using the function mbstowcs to convert a string of characters to a wide string but still not working?????
Thanks,
Boom
Thanks,
Boom
Re: Demo License not working for Borland C++ Builder 4.0
Hi,
The SetLicenseNumber() method are waiting for an unicode string parameter.
Check you are passing the string key into Unicode format.
IE:
Best regards,
Loïc Carrère
The SetLicenseNumber() method are waiting for an unicode string parameter.
Check you are passing the string key into Unicode format.
IE:
Code: Select all
this->GdViewer1->SetLicenseNumber( (wchar_t *) "LicenseKey");
Loïc Carrère
Re: Demo License not working for Borland C++ Builder 4.0
Hi,
I tried the line of code you recommended but when executing it an exception was raised "External exception C0000029". Any ideas why this exception would be raised?
Thanks,
Boom
I tried the line of code you recommended but when executing it an exception was raised "External exception C0000029". Any ideas why this exception would be raised?
Thanks,
Boom
Re: Demo License not working for Borland C++ Builder 4.0
Hi Boom,
This this instead. It is working in BC++ 5, I suggest it will be ok for BC++ 4 too...
Best regards,
Loïc Carrère
This this instead. It is working in BC++ 5, I suggest it will be ok for BC++ 4 too...
Code: Select all
WideString LicenseKey = "YourLicenseKEY";
this->GdViewer1->SetLicenseNumber(LicenseKey);
Best regards,
Loïc Carrère
Who is online
Users browsing this forum: No registered users and 2 guests