1、pptx文件被WPS打开后,aspose.slide通过如下代码打开文件:
System::SharedPtr info = PresentationFactory::get_Instance()->GetPresentationInfo(filePath);
此时会收到异常The process cannot access the file ‘test.pptx’
2、把WPS关闭后,通过上述代码打开就能成功
3、WPS关闭状态,通过PowerPoint打开pptx文件后,在过上述代码打开就能成功
请问文件被WPS占用的任何解决?