dotnet interop:
I want to rewrite a legacy MFC COM code in C# and DO NOT want to modify and
compile any client code who uses the component at this time. Here is part of
the interface definition. The idl also expose some enum definitions. Any idea
if it can be do easily and how? Some of the interface do not return HRESULT.
[ uuid(...) ]
dispinterface IMyInterface
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(MyInterface)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(MyInterface)
[id(1)] SCODE MyFunc1(VARIANT v1, VARIANT* v2);
[id(2)] boolean MyFunc2(float* v1, float* v2);
[id(3)] short MyFunc3(...);
};