somasrini
June 9th, 1999, 05:05 AM
Can u pls. help me out to implement function overloading with in a same interface using IDL VC6.0
Eg:
interface ITest : IUnknown
{
[id(1),helpstring("method Method1")] HRESULT Method1(void);
[id(2),helpstring("method Method1")] HRESULT Method1([in] int value);
}
this one gives a compiler error "redefnition". Why ??
Best Regards
Srini S
Eg:
interface ITest : IUnknown
{
[id(1),helpstring("method Method1")] HRESULT Method1(void);
[id(2),helpstring("method Method1")] HRESULT Method1([in] int value);
}
this one gives a compiler error "redefnition". Why ??
Best Regards
Srini S