S
Sean Capstick
I have successfully implemented sending a fax into our software but I'm
having a problem retrieving the status. When I submit a fax, I get back a
job number. The first number was 1, and it's always going up by 1 each time
I send. Seems fine. If I call GetFaxJob though for any of those IDs, I get
an invalid parameter error. If I go into the fax console and look at the
properties on a fax, it displays JobID's like 0x0201c5fa84b842a6. Here's
the code in case I did something wrong. Are the job id's in the fax
console right or should they be 1,2,3... like the ones I got when submitting
the fax?
HANDLE hFaxServer;
PFAX_JOB_ENTRY pFJE;
if (!FaxConnectFaxServer("", &hFaxServer))
{
writeOutputString("MSFax - Unable To Connect To Server\n");
return;
}
if (FaxGetJob(hFaxServer, nJobID, &pFJE))
{
// do stuff, never gets here
}
--
Silk Dimensions Systems Inc.
Sean Capstick, Programmer/Analyst
(e-mail address removed)
Phone: (800) 731-9026 Fax: (519) 685-0907
Solutions for the Home Improvement Industry
having a problem retrieving the status. When I submit a fax, I get back a
job number. The first number was 1, and it's always going up by 1 each time
I send. Seems fine. If I call GetFaxJob though for any of those IDs, I get
an invalid parameter error. If I go into the fax console and look at the
properties on a fax, it displays JobID's like 0x0201c5fa84b842a6. Here's
the code in case I did something wrong. Are the job id's in the fax
console right or should they be 1,2,3... like the ones I got when submitting
the fax?
HANDLE hFaxServer;
PFAX_JOB_ENTRY pFJE;
if (!FaxConnectFaxServer("", &hFaxServer))
{
writeOutputString("MSFax - Unable To Connect To Server\n");
return;
}
if (FaxGetJob(hFaxServer, nJobID, &pFJE))
{
// do stuff, never gets here
}
--
Silk Dimensions Systems Inc.
Sean Capstick, Programmer/Analyst
(e-mail address removed)
Phone: (800) 731-9026 Fax: (519) 685-0907
Solutions for the Home Improvement Industry