This project is read-only.
1

Closed

Incorrect method signature for FaxStartPrintJob for .NET 4.0 (Win7-64bit)

description

In order to use the Send(FaxInformations informations, PrintDocument document) method of the FaxServer, I had to change the signature of the FaxStartPrintJob method in NativeMethods from:
 
internal static extern bool FaxStartPrintJob(string PrinterName, [In] FAX_PRINT_INFO PrintInfo, out uint FaxJobId, out IntPtr FaxContextInfo);
 
to
 
internal static extern bool FaxStartPrintJob(string PrinterName, [In] FAX_PRINT_INFO PrintInfo, out uint FaxJobId, ref FAX_CONTEXT_INFO FaxContextInfo);
 
I then had to adjust the code in FaxServer.cs to pass in "ref context" instead of an out pointer.
 
New source files attached.

file attachments

Closed Apr 15, 2012 at 5:51 PM by GillesTourreau

comments

wrote Apr 15, 2012 at 5:51 PM

Résolu avec l'ensemble de modifications 76141.

wrote Apr 15, 2012 at 6:40 PM

wrote Feb 14, 2013 at 3:19 AM

wrote May 16, 2013 at 7:22 AM

wrote Dec 11 at 7:26 AM