Example of C++ ExportToMemory API

  • 49 Views
  • Last Post 10 May 2018
  • Topic Is Solved
김태성 posted this 10 May 2018

Dear Abbyy,

 

I want to use FRDocument :: ExportToMemory in C ++.

I inherited IFileWriter as defined, but Open or Write method is not being called.

overrided IUnknown :: QueryInterface method called by UUID of IMarshal instead of the UUID of the IFileWriter.

It would be helpful if you could get an example using the ExportToMemory function written in C ++.

 

Thank you.

김태성 posted this 10 May 2018

Dear Abbyy,

I solved this problem to call CoInitializeEx with COINIT_APARTMENTTHREADED . 

Thank you!

Close