Equisys technical notes

Technical guidance, explanations and fixes for our products

FIX: Zetafax API halts execution when running code compiled for 64-bit using .NET Framework

Print

ZTN2089

ID: ZTN2089

This Zetafax technical note applies to:

  • Zetafax API version 17 and earlier

Symptom

When trying to compile a x64 .NET Framework 4.* project that uses Zetafax API COM library, the execution halts in most calls to the Zetafax API and throws a COM exception of access violation.

Cause

This issue was caused due to a specific bit of code not being optimized to be compiled for 64 bit architectures.

Resolution

This fault was corrected in a hotfix, which is available by contacting Equisys Technical Support and quoting the technote number ZTN2089.

Status

This behaviour was corrected in the hotfix detailed above.

Last updated: 16th September 2015 (JC/JV)

Keywords: Zetafax API, .NET Framework 4.5.1, .NET Framework 4.5.2, Access Violation, 32-bit, 64-bit, win32, win64, x86, x64

Equisys Logo, Document Management and Expense Management for Business Central
 

Replaced by script