Consultor Eletrônico



Kbase P84007: Trying to pass MEMPTR to LoadFromMemory method of TXTextControl ActiveX Control causes error 5889
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/2/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Trying to pass MEMPTR to LoadFromMemory method of TXTextControl ActiveX Control

Unexpected error occurred while processing method/statement: LoadFromMemory. (5889)

CAUSE:

Enhancement Request# 20051102-004

CAUSE:

The LoadFromMemory method of the TXTextControl ActiveX Control requires a byte array as the first parameter.
Currently, the MEMPTR data type cannot be used to pass such a byte array.

FIX:

Modify the source code to use the RAW data type instead.

The enhancement request was logged for implementation of MEMPTRs as parameters to COM methods. At the time of writing it is not implemented yet.