ReadFaxObject Fax OCX problem

Fax C++/ActiveX related topics

Moderator: Technical Support Team

ReadFaxObject Fax OCX problem

Postby kd-max » Wed Mar 31, 2010 9:53 am

Hi. I have one more problem. If trying to send faxobject loaded from file by .ReadFaxObject() method I have an error -75 (PutFaxOnQueue failed because the specified fax object has no Send flag set). But previousely saved by WriteFaxObject() file is a prepeared for sending fax object. Also I can't extract even phone number from loaded object, .GetPhoneNumber() returns empty string. Here is part of code:
IF FindFirst(filename, 0, foundFile) = 0 THEN
BEGIN
REPEAT
FaxID:=Fax.CreateFaxObject(1, 1, 3, 2, 1, 2, 2, 1, 2, 1);
logwarning(Fax.PortsOpen,'Sending fax id: ',inttostr(FaxID));
Fax.ReadFaxObject(FaxID,foundFile.Name);
err:=Fax.SendFaxObj(FaxID);
logwarning('RestoreJobs',errors(err),Fax.GetPhoneNumber(FaxID));
//Copy(foundFile.Name,1,length(foundFile.name)-4));
//Fax.WriteFaxObject(FaxID,path+inttostr(FaxID)+'.fxo');
end;
UNTIL FindNext(foundFile) <> 0;

SysUtils.FindClose(foundFile);
END;
kd-max
 
Posts: 3
Joined: Mon Mar 22, 2010 4:01 pm

Re: ReadFaxObject Fax OCX problem

Postby Trueweaver3 » Sun Apr 03, 2011 2:28 am

interesting
Trueweaver3
 
Posts: 1
Joined: Fri Apr 01, 2011 4:23 am
Location: Hallam


Return to Fax C++ / ActiveX



Who is online

Users browsing this forum: No registered users and 1 guest

cron