How to write the definition code of a COM Proxy object ?
I need to do this...
Form Window: frm1
Window Variables
asi2k_CatAcesso_n_CNCatAcesso: onCatAcesso
But when I do a copy & paste I have this:
!!CB!! 118
FunctionalVar: onCatAcesso
Class: asi2k_CatAcesso_n_CNCatAcesso
ComProxyVar: onCatAcesso1
Class: asi2k_CatAcesso_n_CNCatAcesso
The first definition was create with my app.
The second definition I create with Coding Assistant.
My question is: How to create a ComProxyVar ?
thanks in advance,
Lairton N de Almeida Jr
I´m using this:
If aForm.AddObjectTo( CDK_IT_FormVariables , CDK_IT_ClassObjectComProxy ,
sObjectName , aVariable )
Call aVariable.SetObjectClass( sNameOfMyComProxyClass )
But SQLWindows generates this:
!!CB!! 118
ComProxyVar:
Class:
Using ....
If aForm.AddObjectTo( CDK_IT_FormVariables , CDK_IT_ClassComProxy,
sObjectName , aVariable )
Call aVariable.SetObjectClass( sNameOfMyComProxyClass )
no one line is generated.
I´m using CTD2000 - Build 12706
Any ideia ?
Thanks in advance,
sorry for the late reply.
It´s a bug.
Add "Case CDK_IT_ClassObjectComProxy"
in _IsValidType of cdkVariable
Then
If aForm.AddObjectTo( CDK_IT_FormVariables , CDK_IT_ClassObjectComProxy ,
sObjectName , aVariable )
Call aVariable.SetObjectClass( sNameOfMyComProxyClass )
should work.
Regards,
Frank Boettcher
Ice Tea Group, LLC
www.iceteagroup.com