Kbase P130489: Communicating with Vertex tax software
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/04/2008 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.1B
IBM AIX
OpenEdge Category: Language (4GL/ABL)
SYMPTOM(s):
Communicating with Vertex tax software
Attempting to pass an array of MEMPTR's to the Vertex LocGetLocations API function
Application doesn't crash but returned pointers are invalid
CAUSE:
In the ABL the MEMPTR data type is not a raw pointer as in other languages. Instead it is an object that wraps around a pointer. As such it cannot be used in an array to pass to a shared library / DLL.
FIX:
Modify the MEMPTR array variable to use either INTEGER or INT64 data types (as required depending on whether the OS is 32-Bit or 64-Bit)