FAXCOMEXLib: JobID from ConnectedSubmit to OnOutgoingJobChanged


H

Hraklhs

I use the Microsoft Fax Service Extended COM Library.

I submit a document to the local fax server using the
FaxDocument.ConnectedSubmit method and I get back the job ID.
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxinta_n_5cfo.asp))
MSDN example - Sending a Fax:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxusing_27co.asp

I want to retrieve the same job ID on the
FaxServer_OnOutgoingJobChanged event (so as to move the sent document
to another folder).
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxinto_z_3xus.asp)
MSDN example - Registering for Fax Events:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxusing_3u5v.asp

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?
 
Ad

Advertisements

G

Guest

El ejemplo no es incorrecto

ConnectedSubmit devuelve un array de strings en formato
Int64. En cambio, para gestionar los Jobs necesitas un ID
en formato Hexadecimal. Si puedes crear una función
Int64ToHex tienes resuelto el tema. El problema es que VB6
no tiene datos en formato Int64.
Que por qué se ha hecho así?
Pregunta a MS
 
Ad

Advertisements

A

Alex Feinman [MVP]

You are right. I haven't noticed that the number the OP posted
(144613567377692395) is the decimal for the Job ID (201c545f93fd6eb)


--
Alex Feinman
---
Visit http://www.opennetcf.org
El ejemplo no es incorrecto

ConnectedSubmit devuelve un array de strings en formato
Int64. En cambio, para gestionar los Jobs necesitas un ID
en formato Hexadecimal. Si puedes crear una función
Int64ToHex tienes resuelto el tema. El problema es que VB6
no tiene datos en formato Int64.
Que por qué se ha hecho así?
Pregunta a MS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top