FaxSendDocument works at one computer but return ERROR_INVALID_DATA at another.

  • Thread starter Thread starter some
  • Start date Start date
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?
 
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.
 
Back
Top