Technical Notes, Zetafax

HOWTO: Create an interop version of the zfapi32.dll

ZTN1430

ID: ZTN1430

This Zetafax technical note applies to:

  • Zetafax COM API

Summary

This technote is designed to help you integrate Zetafax functionality in your .Net applications using the COM API

Note: the Zetafax API must be registered before it can be called using .NET, for details of how to do this, please refer to technote ZTN1239-HOWTO Develop and redistribute your fax-enabled application.

More information

  1. From within Visual Studio select the "add a reference" option.  The following menu will appear:

  1. Select the COM tab option
  2. Move to the end of the list, and search for the Zfapi32 1.4 Type library component.  Select it by ensuring the component is selected and clicking on the Ok button.

Should the Zfapi32 1.4 Type library component not be present, then select the browse option to search for the *.dll file.  In a standard Zetafaxsetup, this file is found in the following location:

C:\Program Files\Zetafax Server\ZFAPI\LIB\I386\Microsoft

  1. You can now call functions present in the Zetafax library, by using references to the Zflib namespace within your code for example:

Zf­ Lib.­ ZAPI

For full details on the range of functions present within the Zflib, please refer to the Zetafax API help files.

  1. Ensure you distribute the interop.zflib.dll file found in the build directory of your code.

References

ZTN1239 - HOWTO develop and redistribute your fax-enabled application.

Last updated: 14th February 2005 (EB/SV)