FaxDocument.Submit returns Hex IDs on 2003 and Decimal on XP

  • Thread starter Thread starter Orbian
  • Start date Start date
O

Orbian

I'm using the FaxDocument.Submit() method to send faxes to the fax
server. The documentation says that it will return a list of IDs for
each fax submitted (which it does). But I find that on XP those IDs are
in decimal and on 2003 they are in hex. Is there any way of knowing
whch format they are being returned in?

Thanks,
Bob Herzberg
 
You should treat it as an array of strings. Do not try to convert them to
numbers.
 
Alex said:
You should treat it as an array of strings. Do not try to convert them to
numbers.

--
BUt the problem is the strings are different and need to be converted
(on XP at least) because when the submit returns I will have an ID of
the fax job. I should then be able to use this ID to lookup the job in
the outgoing queue and issue a cancel. But the ids in the outgoing
queue are all in hex where the id returned from Submit() is in decimal
and I can't match the ID's. On 2003 it's not a problem because Submit()
works correctly and returns an ID in hex I can use to lookup a job in
the job queue. I would rather not convert the strings but that seems to
be the only way to get a comparison to work on XP.

Thanks,
Bob
 
Back
Top