- This topic is empty.
-
AuthorPosts
-
November 12, 2001 at 6:15 pm #2653
Anonymous
MemberI 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,
AlexNovember 16, 2001 at 6:54 pm #4478Anonymous
Memberyou can use the IsEntryIDReady to determine if WinFax returns an entry id. then you can terminate the Sendobject.
November 16, 2001 at 7:28 pm #4479Anonymous
MemberI 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,
AlexNovember 16, 2001 at 8:03 pm #4480Anonymous
Memberwere you also using Send(1) instead of Send(0)?
November 16, 2001 at 8:52 pm #4481Anonymous
MemberYup. I may not have had the correct EntryID though…
-
AuthorPosts
- You must be logged in to reply to this topic.