titanandrews
Programmer
Hello all,
In my idl, I have this interface
Apparently, this is not allowed because when I run midl it complains about the second Init function redefining the first. Is there any way to get around this issue?
many thanks,
Barry
In my idl, I have this interface
Code:
interface IMyInterface : IDispatch
{
[id(1), helpstring("method Init1")] HRESULT Init([in]BSTR string1, [in] BSTR string2);
[id(2), helpstring("method Init2")] HRESULT Init ([in]BSTR string1);
}
Apparently, this is not allowed because when I run midl it complains about the second Init function redefining the first. Is there any way to get around this issue?
many thanks,
Barry