Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems to generate a ComProxyVar variable

4 views
Skip to first unread message

Lairton N de Almeida Jr

unread,
May 26, 2000, 3:00:00 AM5/26/00
to
I have a big problem.

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


Lairton N de Almeida Jr

unread,
May 26, 2000, 3:00:00 AM5/26/00
to
a little more infos

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,

Frank Boettcher

unread,
Jun 26, 2000, 3:00:00 AM6/26/00
to
Lairton,

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

0 new messages