Consultor Eletrônico



Kbase P98344: Why is it possible to change the type of a COM procedure parameter without getting errors?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/01/2011
Status: Verified

GOAL:

Why is it possible to change the type of a COM procedure parameter without getting errors?

GOAL:

Is it possible to use a different parameter type to the type displayed in the COM Object Viewer?

GOAL:

Using a parameter type different from that lited in the COM Object Viewer does not generate an error

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
Windows

FIX:

The Progress COM Object Viewer cannot always interpret the information in the typelib perfectly and therefore has to make a "best guess" about an event signature. On occasion, this "guess" is wrong and so the Progress 4GL is designed to allow developers some flexibility to change the signature of an event in case they run into this situation. This does not apply for methods.