Home | About us | Overview | Softwares - Downloads | Evaluate | Order | Support | old forums | Contact | F.A.Q. | Documentations | Search | Sitemap

Demo License not working for Borland C++ Builder 4.0

Questions about GdPicture SDKs ActiveX Edition license agreements.

Demo License not working for Borland C++ Builder 4.0

Postby Boom on Fri Sep 05, 2008 3:54 am

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
Boom
 
Posts: 3
Joined: Fri Sep 05, 2008 3:33 am

Re: Demo License not working for Borland C++ Builder 4.0

Postby Loïc on Fri Sep 05, 2008 5:03 pm

Hi,

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");


Best regards,

Loïc Carrère
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France

Re: Demo License not working for Borland C++ Builder 4.0

Postby Boom on Fri Sep 05, 2008 9:13 pm

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
Boom
 
Posts: 3
Joined: Fri Sep 05, 2008 3:33 am

Re: Demo License not working for Borland C++ Builder 4.0

Postby Loïc on Sat Sep 06, 2008 12:05 pm

Hi Boom,

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
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France


Return to Licensing

Who is online

Users browsing this forum: No registered users and 0 guests

cron