Consultor Eletrônico



Kbase 16591: Mapping Between Progress and Variant Data Types with ActiveX.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Verified

GOAL:

Mapping Between Progress and Variant Data Types with ActiveX.

FIX:

COM uses a VARIANT structure for method calls and to set and get properties on an ActiveX Automation Object. The information in this structure must be converted to and from Progress data types.

The conversion is performed as follows:

1) If the 4GL specifies any type qualifiers, perform conversion based on the qualifiers.

2) If the 4GL does not specify a type qualifier, check if the object provides any type information through its Type Library interfaces. If available, perform conversion based on that type information.

3) If neither #1 nor #2 results in a conversion, perform the default conversion.