Hi,
I have tried to access password protected excel file of format .xlsm using aspose cell C++ library. The application is getting crashed. Below is the sample code I was trying
StringPtr dirPath = new String("…\Sample.xlsm");
intrusive_ptr loadOps = Factory::CreateILoadOptions(LoadFormat::LoadFormat_Auto);
StringPtr password = new String("Sample");
loadOps->SetPassword(password );
intrusive_ptr<IWorkbook> wb = Factory::CreateIWorkbook(dirPath, loadOps);
Note: The application is getting crashed when I call the method CreateIWorkbook(dirPath, loadOps);
I request technical team to help me with this issue.
Thanks and Regards
Gokulakrishnan R