I use the following code to set a "critical section" during the fax transmission to stop Windows interfering with the the fax session timing.
Code:
call Text2Fax(Fax) ' No convert the file if Fax.FaxError then FinishedFax' Error occurred? if (istrue bit(pbvHost,8)) and (isfalse bit(pbvHost,5)) then ' only if not in the IDE and Windows is running! asm MOV AX,&H1681 asm INT &H2F end if call PBFax(Fax) ' Now fax the converted document if (istrue bit(pbvHost,8)) and (isfalse bit(pbvHost,5)) then asm MOV AX,&H1682 asm INT &H2F end if
(Author of PBFax)
Leave a comment: