How to deal with Microsoft Fax not installed?

A

Angus Comber

Hello

I am #include'ing winfax.h and reveiwing the PlatformSDK samples. All looks
easier than I thought. But I have the problem that if Microsoft Fax is not
installed get Winfax.dll error. I think I have to dynamically load
winfax.dll. I realise this is not particularly a Microsoft Fax question but
how would I check at runtime so user doesn't get this error. (For example
in my program I want to allow user to print documents and then fax manually
as an option - or use another fax server).

Angus Comber
(e-mail address removed)
 
A

Arindam Basak [MSFT]

I didn't completely understand what you mean by:
in my program I want to allow user to print documents and then fax manually
as an option - or use another fax server

Can you please explain in more detail what you are trying to achieve?

To find if fax is installed, you can try using OpenService (please refer to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/openservice.asp
how to use this API) to check if Fax service is present - which would error
out with ERROR_SERVICE_DOES_NOT_EXIST if it is not there.

Dynamically loading winfax.dll does not ensure that fax is properly
installed and things work as expected.

Thanks,
--
Arindam Basak
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.
 

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