4.4 Release 4.07 RC4
TApdSendFax Sending EOP bug
TApdSendFax->FaxProg=4805 "Sending EOP"
There is a serious problem with TApdSendFax. If a communication error occurs at the right time during the Sending EOP phase it causes it to get stuck forever. There is no FaxFinish event. It stays busy forever. The modem gets stuck in data transfer mode forver. Calling TApdSendFax->CancelFax() does nothing. It does not force a hangup.
The only way to recover from the conditiion is to
set your own watchddog timer for say 300 seconds looking at ApdSendFax1->InProgress and status being stuck and CurrentPage being stuck then you have to
write your own code that will force a hangup by doing all the ritual steps of delay, +++, delay, ATHO etc.
The force hangup code is not public in the base class.
Most of my experience is in C++. I have little delphi experience. I have not looked in the source code yet for the cause. I though I would post this first and see if anyone knows about this.