O
oleg
Hello!
I developed COM Type Library in C#! This Com used by VB6.0,
but when from vb called some property of com object ,happen error "Object
required"!!!
Part of C# COM:
public object xxx
{
get
{
return 2;
}
set
{
qq=2;
}
}
generated .tlb file:
[id(0x6002000d), propget]// for get
VARIANT xxx();
[id(0x6002000d), propputref]// for set
void xxx([in] VARIANT rhs);
I think, problem in propputref attribute! Which attribute i need to set in
C# code to change [propputref] to [propput] ??
thanks for help
I developed COM Type Library in C#! This Com used by VB6.0,
but when from vb called some property of com object ,happen error "Object
required"!!!
Part of C# COM:
public object xxx
{
get
{
return 2;
}
set
{
qq=2;
}
}
generated .tlb file:
[id(0x6002000d), propget]// for get
VARIANT xxx();
[id(0x6002000d), propputref]// for set
void xxx([in] VARIANT rhs);
I think, problem in propputref attribute! Which attribute i need to set in
C# code to change [propputref] to [propput] ??
thanks for help