Convert Pdf to xlsx or xls using C++ | Aspose.PDF crash by second time

 hello  I test this code,it is must be crashed by secondtime ,need your help,I am waiting for you
{
    //evertime this filename will be one newername ends by .xlsx
    filerename(filename);
    SharedPtr<ExcelSaveOptions> options = MakeObject<ExcelSaveOptions>();
    auto _tempdoc = MakeObject<Document>();
    //once success seconde it is crash
    _tempdoc->Save(System::String(filename.toStdWString()),options);

    return 0;
}

@mofeiwozl

Could you please share sample source file with us so that we can test the scenario in our environment and address it accordingly.

I has test this code in newer project,it is worked,only in my big project it is wrong.I have change this code in UI thread it is worked,Thanks very much.I will tell you the real reason after myself check,thanks very much.

@mofeiwozl

It is good to know that you were able to sort the issue out. Please keep using our API and feel free to let us know in case you face any issue.