Consultor Eletrônico



Kbase P121282: Cannot exchange large character strings with ActiveX control using COM-HANDLE
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.x
Windows

SYMPTOM(s):

Cannot exchange large character strings with ActiveX control using COM-HANDLE

COM object returns character string larger than 30KiB

COM object stores large string in argument passed by reference

Session crashes when large strings are returned by COM object

CAUSE:

The maximum character string size in Progress 9 is 32K. It is not possible in Progress 9 to exchange strings with ActiveX controls or COM objects that are more than (approximately) 30KiB in size. This is a known limitation.

FIX:

Upgrade to OpenEdge 10 or later, and use the LONGCHAR data type.

Depending on the COM object, another alternative could be to use MEMPTR variable. All data types other than the MEMPTR datatype are limited in size to 32K. MEMPTR variables can be any size depending on the available memory.