Fax Software

Community Forums

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2653
    Anonymous
    Member

    I am programmatically trying to send a fax (WinFax 10.01) and my ISDKSend instance is releasing the library too quickly. If I debug in and break before the ISDKSend.ReleaseDispatch() call then the fax goes through correctly.

    However, if I just let the code fly by the task bar icons come up briefly but the fax is never sent.

    If I add a delay:
    DWORD current = GetTickCount();
    while (GetTickCount() – current < 2000); Then the fax is sent correctly. How can I efficiently and reliably wait for component unloading until the fax was really completed?
    Thanks,
    Alex

    // [email protected]

    #4478
    Anonymous
    Member

    you can use the IsEntryIDReady to determine if WinFax returns an entry id. then you can terminate the Sendobject.

    #4479
    Anonymous
    Member

    I tried that but the EntryID was never ready… even though the fax was completed and sitting on the RightFax server ready to go.

    I opted for the LeaveRunning() solution instead.

    Thanks,
    Alex

    #4480
    Anonymous
    Member

    were you also using Send(1) instead of Send(0)?

    #4481
    Anonymous
    Member

    Yup. I may not have had the correct EntryID though…

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.