Error GetAttachmentsCount
Posted: Thu Apr 22, 2021 12:23 pm
Hi guys
I'm trying use the method "GetAttachmentsCount", but after execute "DoDocumentVerb", my variable "AttachmentsCount" have the value "Unknown type: 19", I can't say what I'm doing wrong. My code is bellow
I'm using Delphi 5, my application is 32 bit and the version of dll is 2.5.322.10
I'm trying use the method "GetAttachmentsCount", but after execute "DoDocumentVerb", my variable "AttachmentsCount" have the value "Unknown type: 19", I can't say what I'm doing wrong. My code is bellow
Code: Select all
var
AttachmentsCount, DataIn: OleVariant;
ActiveDocID: Integer;
.
.
.
.
PDFXCview.src := CDSINIndiceTreeViewDes_Caminho_Arquivo.AsString;
PDFXCview.GetActiveDocument(ActiveDocID);
PDFXCview.DoDocumentVerb(ActiveDocID, '', 'GetAttachmentsCount', DataIn, AttachmentsCount, PXCVA_Sync or PXCVA_NoUI);