A couple of Fax SDK questions

Fax C++/ActiveX related topics

Moderator: Technical Support Team

A couple of Fax SDK questions

Postby BC » Tue Apr 20, 2004 4:36 pm

Is there a way to obtain the number of errored and total lines on each page of a fax transmission by looking at the Fax log files (You can assume we have access to the log files on both sides of the transmission.)?

I have to use the log file viewer program (FaxSpy) to look at the log files since it is not in pure text format. Is there a plain text version of these log files so I can open the file and read it from inside my program code? I need to be able to read the log files from inside my program to obtain the information I want since I want to automate the process.

Thank you in advance.
BC
 
Posts: 1
Joined: Tue Apr 20, 2004 4:26 pm

Postby TechnicalSupportTeam » Wed Apr 21, 2004 3:18 pm

1. To get the length of a received fax, use the GetObjFromReceiveQueue() function to get the received fax from the queue. The function returns a FAXOBJ type (a fax object).
Use the GetParam() function of the fax object to retrieve the information about the receivbed fax.

TSFaxParam sFaxParam;
FaxObj->GetParam( sFaxParam );

The TSFaxParam structure contains information such as the Resolution, Width, Length, Compression, etc.

2. The log file is for debugging only. In your application you have to process the event you receive from Fax C++. If an error occur you will get the error code. There is no reason analyzing the log file from your application.
TechnicalSupportTeam
 
Posts: 944
Joined: Sat Mar 20, 2004 11:50 am


Return to Fax C++ / ActiveX



Who is online

Users browsing this forum: No registered users and 0 guests