Delphi help with COM interop

procedure TForm3.Button1Click(Sender: TObject);
var
WordApp, ADoc: OLEvariant;
begin
CoInitialize(nil);
WordApp := CreateOleObject('Aspose.Words.ComHelper');
ADoc := CreateOleObject('Aspose.Words.Document');
try
ADoc := WordApp.Open('C:\Users\roberto\Desktop\FloatingObjects.docx');
ADoc.Save('C:\Users\roberto\Desktop\Rendering.PdfDefaultOptions FloatingObjects2.pdf');
finally
CoUninitialize;
end;
end;

hello,
using the above code is producing floating point error when saving to pdf (this probably because Aspose.PDF.dll is not correctly registered?). How to solve?
Also: are these libraries thread-safe for multi-theading scenario?
PLZ thanks for any help
Roberto

Hi Roberto,


Thanks for your inquiry.

Yes, Aspose.Words does support multi-threading and processing multiple documents simultaneously in different threads should work fine.

Could you please attach your input document (FloatingObjects.docx ) and output document (Rendering.PdfDefaultOptions FloatingObjects2.pdf’) showing the floating point error here for testing? We will investigate the issue on our end and provide you more information.

Best regards,