www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - winfax.dll

reply "Heinz-Peter Nuettgens" <hnuettgens t-online.de> writes:
I just want to ask whether there is now a support for the winfax.dll
implemented in DMC?
Apr 11 2002
parent reply Jan Knepper <jan smartsoft.cc> writes:
Do you have an header file for this DLL?
Jan



Heinz-Peter Nuettgens wrote:

 I just want to ask whether there is now a support for the winfax.dll
 implemented in DMC?
Apr 11 2002
next sibling parent reply "Heinz-Peter Nuettgens" <hnuettgens t-online.de> writes:
"Jan Knepper" <jan smartsoft.cc> schrieb im Newsbeitrag
news:3CB58980.4B3DA4A2 smartsoft.cc...
 Do you have an header file for this DLL?
 Jan
No Jan, that's my problem. It's easy to create a lib-file from the dll. But I don't know a way to extract the Header from it :-)) It is possible to create a header-file out of the information stored in the MSDN Library, which describes functions and structures used in the dll. But that's a lot of work.... Greetings Heinz-Peter
Apr 12 2002
parent reply Jan Knepper <jan smartsoft.cc> writes:
Can you give me a couple of function names?
I bet that stuff is available somewhere.
Jan



Heinz-Peter Nuettgens wrote:

 "Jan Knepper" <jan smartsoft.cc> schrieb im Newsbeitrag
 news:3CB58980.4B3DA4A2 smartsoft.cc...
 Do you have an header file for this DLL?
 Jan
No Jan, that's my problem. It's easy to create a lib-file from the dll. But I don't know a way to extract the Header from it :-)) It is possible to create a header-file out of the information stored in the MSDN Library, which describes functions and structures used in the dll. But that's a lot of work.... Greetings Heinz-Peter
Apr 12 2002
next sibling parent reply Christof Meerwald <cmeerw web.de> writes:
On Fri, 12 Apr 2002 10:16:28 -0400, Jan Knepper wrote:
 Can you give me a couple of function names?
 I bet that stuff is available somewhere.
A winfax.h file is included in Microsoft's Platform SDK (which can be downloaded from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/): Module Name: winfax.h Abstract: This module contains the WIN32 FAX APIs. bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Apr 12 2002
parent "Heinz-Peter Nuettgens" <hnuettgens t-online.de> writes:
Hi Christof,

thanks a lot, but I don't want to download for about 9 hours (estimated by
MS) just to get
the fax support. This is unfortunately no possible opportunity for me.

bye, Heinz-Peter

"Christof Meerwald" <cmeerw web.de> schrieb im Newsbeitrag
news:a96t58$1gbr$1 digitaldaemon.com...

 A winfax.h file is included in Microsoft's Platform SDK (which can be
 downloaded from
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/):

Apr 15 2002
prev sibling parent "Heinz-Peter Nuettgens" <hnuettgens t-online.de> writes:
"Jan Knepper" <jan smartsoft.cc> schrieb im Newsbeitrag
news:3CB6EC3C.C9F5F0E0 smartsoft.cc...
 Can you give me a couple of function names?
 I bet that stuff is available somewhere.
 Jan
for example: structures: typedef struct _FAX_JOB_PARAM { DWORD SizeOfStruct; //structure size, in bytes LPCTSTR RecipientNumber; //pointer to recipient's fax number LPCTSTR RecipientName; //pointer to recipient's name LPCTSTR Tsid; //pointer to transmitting station identifier LPCTSTR SenderName; //pointer to sender's name LPCTSTR SenderCompany //pointer to sender's company LPCTSTR SenderDept; //pointer to sender's department LPCTSTR BillingCode; //pointer to billing code DWORD ScheduleAction; //job scheduling action code SYSTEMTIME ScheduleTime; //time to send fax DWORD DeliveryReportType; //e-mail delivery report type LPCTSTR DeliveryReportAddress; //pointer to e-mail address LPCTSTR DocumentName; //pointer to document name to display HCALL CallHandle; //optional TAPI call handle DWORD Reserved[3]; //must be zero } FAX_JOB_PARAM, *PFAX_JOB_PARAM; functions: BOOL WINAPI FaxConnectFaxServer( LPCTSTR MachineName OPTIONAL, // fax server name LPHANDLE FaxHandle // handle to the fax server ); BOOL WINAPI FaxOpenPort( HANDLE FaxHandle, // handle to the fax server DWORD DeviceId, // receiving device identifier DWORD Flags, // set of port access level bit flags LPHANDLE FaxPortHandle // fax port handle ); BOOL WINAPI FaxSendDocument( HANDLE FaxHandle, // handle to the fax server LPCTSTR FileName, // file with data to transmit PFAX_JOB_PARAM JobParams, // pointer to job information structure CONST FAX_COVERPAGE_INFO *CoverpageInfo OPTIONAL, // pointer to local cover page structure LPDWORD FaxJobId // fax job identifier ); BOOL WINAPI FaxClose( HANDLE FaxHandle );
Apr 15 2002
prev sibling parent "V. Krishnakumar" <lvimala eth.net> writes:
Hi! group,


"Jan Knepper" <jan smartsoft.cc> wrote in message
news:3CB58980.4B3DA4A2 smartsoft.cc...
 Do you have an header file for this DLL?
 Jan
The lcc-win32 distribution has a header for this dll. it also has a complete set of .def files for creating implibs. hope this helps, -Krish
Apr 19 2002