FaxSendDocument works at one computer but return ERROR_INVALID_DATA at another.

S

some

I run the SDK sample "samplesend" at one computer and it works fine.
At another computer , when run to FaxSendDocument:
if (!FaxSendDocument( hFax, Document, JobParam, NULL , &JobId) )

it return a error (code 13, ERROR_INVALID_DATA).
I'm sure that the file to send exists and isn't used.

Where may be the problem?
 
C

Chandrasekar [MSFT]

One reason i see for which you will get a ERROR_INVALID_DATA error is if the
file that you are trying to send is existing and is of size 0. Can you
please check that the file that you are trying to send is of size greater
than 0?


Thanks,

--
Chandrasekar R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 

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