famorales
New Member
Hi.
I'm new in this forum, and i'm asking for help accessing component events.
here the trouble.
I insert an ocx (it's a type library .tlb) in a widget. Progress names the component R5DVRClient and assign a CtrlFrame COM-HANDLE.
/*Definitions*/
DEFINE VARIABLE comCliente AS COM-HANDLE.
/*Main-Block*/
ASSIGN
comCliente = CtrlFrame:COM-HANDLE.
Note. I have no problems using attributes or methods from this component. those work ok.
Then i use the component viewer to find the event i need. the viewer showme this window:
Next, i copy the sample to use in my code.
In my procedure, code will see like this.
PROCEDURE CtrlFrame.R5DVRClient.FetchSettingsCompleted:
DEFINE INPUT PARAMETER DVR AS COM-HANDLE.
DEFINE INPUT PARAMETER success AS LOGICAL.
/* my code for work is here */
END PROCEDURE.
This compiles fine.
Ok. When i successfully access to the component, execute the method "FetchSettings":
comCliente:R5DVRClient
VRList
VRs:ITEM(1):FetchSettings()
This works fine too. But when the component raise the "FetchSettingsCompleted" event, progress give me this error:
"The USER-INTERFACE-TRIGGER procedure c:\temp\p17844cf.ab has sent to sub-procedure CtrlFrame.R5DVRClient.FetchSettingsColmpeted c:\temp\17844cf.ab parameters do not match. (2570)"
Can anyone help me please. I'm working with Progress 9.1D and March Software SDK (accesing digital video), Windows XP SP2.
Fernando
I'm new in this forum, and i'm asking for help accessing component events.
here the trouble.
I insert an ocx (it's a type library .tlb) in a widget. Progress names the component R5DVRClient and assign a CtrlFrame COM-HANDLE.
/*Definitions*/
DEFINE VARIABLE comCliente AS COM-HANDLE.
/*Main-Block*/
ASSIGN
comCliente = CtrlFrame:COM-HANDLE.
Note. I have no problems using attributes or methods from this component. those work ok.
Then i use the component viewer to find the event i need. the viewer showme this window:

Next, i copy the sample to use in my code.
In my procedure, code will see like this.
PROCEDURE CtrlFrame.R5DVRClient.FetchSettingsCompleted:
DEFINE INPUT PARAMETER DVR AS COM-HANDLE.
DEFINE INPUT PARAMETER success AS LOGICAL.
/* my code for work is here */
END PROCEDURE.
This compiles fine.
Ok. When i successfully access to the component, execute the method "FetchSettings":
comCliente:R5DVRClient


This works fine too. But when the component raise the "FetchSettingsCompleted" event, progress give me this error:

"The USER-INTERFACE-TRIGGER procedure c:\temp\p17844cf.ab has sent to sub-procedure CtrlFrame.R5DVRClient.FetchSettingsColmpeted c:\temp\17844cf.ab parameters do not match. (2570)"
Can anyone help me please. I'm working with Progress 9.1D and March Software SDK (accesing digital video), Windows XP SP2.
Fernando