Free Support Forum - aspose.com

License issue with Aspose.Cells 20.7

Hi,

I tried upgrading to Aspose.Cells for C++ 20.7 from version 19.11. I use Aspose.Cells
in conjunction with Qt 5 and load the license as follows:

/***********************************************************************/
static void activateAsposeLicense()
{
static intrusive_ptr< License> license;

  if(!license) {
  	// Open the embeded license file 
  	QFile asposeLicFile(":/internal/Aspose.Cells.lic");
  	asposeLicFile.open(QIODevice::ReadOnly);
  	const QByteArray licData = asposeLicFile.readAll();
  	
  	intrusive_ptr<Aspose::Cells::Systems::BString> byteBuffer(new Aspose::Cells::Systems::BString(reinterpret_cast<Byte*>(licData.data()), licData.size()));
  	Aspose::Cells::Systems::IO::MemoryStreamPtr buffer(new Aspose::Cells::Systems::IO::MemoryStream(byteBuffer));

  	license = new Aspose::Cells::License;
  	license->SetLicense(buffer);
  } }

This worked fine with 19.11 but Aspose won’t accept my license in 20.7 although
the license clearly states that it’s valid into 2021.

@patjep,
We have reviewed your issue and logged it in our database for further investigation. You will be notified here once any update is ready for sharing.

This issue is logged as:
CELLSCPP-269 - License issue with Aspose.Cells 20.7

@ahsaniqbalsidiqui

Alright, thank you!

@patjep,

You are welcome.

@patjep,

Please try our latest version/fix: Aspose.Cells for C++ v20.7.1.

Your issue should be fixed in it.

Let us know your feedback.

Hi @Amjad_Sahi,

Our license seems to work now. Thank you!

@patjep,

You are welcome.