The problem is that the job ID returned from the FaxDocument.ConnectedSubmit method (ex. 144613567377692395) is different from the bstrJobId parameter of the FaxServer_OnOutgoingJobChanged event (ex. 201c545f93fd6eb). Can you help me?
Alright, I figured it out... The return value is a decimal representation and the Id in the job is hex.. just convert the return value to hex and get the job that way. Hope this helps.
Glad you got it figured out. This library has plagued me for many nights. I stumbled upon this page for common [link=http://www.interfax.net/en/dev/faxcomexlib]faxcomexlib [/link]problems a while back and even though I didn't help me in the end, others might find it useful.
(BTW, sorry for bumping such an old thread, but since this are many similar problems, it made sense to post it somewhere).
Comments
String[] o = (String[])document.Submit(computer);
String rv = o[0];
long rvdec = Int64.Parse(rv);
String rvhex = rvdec.ToString("X");
FaxOutgoingJob job1 = server.Folders.OutgoingQueue.GetJob(rvhex);
(BTW, sorry for bumping such an old thread, but since this are many similar problems, it made sense to post it somewhere).