Call to FaxConnectFaxServer: Cannot find entrypoint in winfax.dll!

  • Thread starter Thread starter =?ISO-8859-1?Q?Mathias_W=FChrmann?=
  • Start date Start date
?

=?ISO-8859-1?Q?Mathias_W=FChrmann?=

Hi,

I'm writing a faxapplication in VB 6 and going to use the fax API to get
information about running jobs.

In order to get a fax handle for querying jobs, I need to make a call to
API function FaxConnectFaxServer. This one always fails with error
"entry point FaxConnectFaxServer not found in winfax.dll"!

What am I doing wrong? Thanks for helping.

PS: Using Windows 2000 SP4.

Regards,

Mathias Wuehrmann
 
Few things
1. Please share your code fragment that's giving the problem
2. Locate the winfax.dll (typically in %windir%\system32 directory) & look
for the FaxConnectFaxServerW/A in the list of exports. The exports list can
be viewed by using a tool 'depends.exe' that's available at
http://www.dependencywalker.com/

By the way, why are you not using the Fax COM APIs available in Win2K that
would be easier to use than a plan C/C++ API such as FaxConnectFaxServer.
The Win2K Fax COM APIs are explained at
http://msdn.microsoft.com/library/en-us/fax/faxlegacy_2n1q.asp

--
Raghavendra 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.
 
Hi Raghavendra,
Raghavendra R [MSFT] wrote:
Few things
1. Please share your code fragment that's giving the problem
2. Locate the winfax.dll (typically in %windir%\system32 directory) & look
for the FaxConnectFaxServerW/A in the list of exports. The exports list can
be viewed by using a tool 'depends.exe' that's available at
http://www.dependencywalker.com/

Thanks, works fine.
By the way, why are you not using the Fax COM APIs available in Win2K that
would be easier to use than a plan C/C++ API such as FaxConnectFaxServer.
The Win2K Fax COM APIs are explained at
http://msdn.microsoft.com/library/en-us/fax/faxlegacy_2n1q.asp

Because COM seems to have much lesser functionality! So I'm using COM as
far as possible and the APIs for the more sophisticated stuff like
querying the status of jobs and getting the planned sending time, number
of retries, etc.

Thanks,

Mathias Wuehrmann
 
Back
Top