|
-
June 9th, 1999, 05:05 AM
#1
How to implement function overloading within an interface
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|