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

  • Thread starter =?ISO-8859-1?Q?Mathias_W=FChrmann?=
  • 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
 
R

Raghavendra R [MSFT]

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.
 
?

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

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
 

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