D
Daniel
How do I call a delegate in late bound C# dll? there some way to do this w/
a sharedinterface file? any examples? i tried this but it doesnt work:
(oType.GetMethod("IOCTLJOB").Invoke(pObj, new object[] {
pClass1.m_job } )).ToString();
and it returns the error:
Additional information: Object type cannot be converted to target type.
I have the delegate defined in both the late bound dll and the host assembly
like this:
public delegate void Job();
a sharedinterface file? any examples? i tried this but it doesnt work:
(oType.GetMethod("IOCTLJOB").Invoke(pObj, new object[] {
pClass1.m_job } )).ToString();
and it returns the error:
Additional information: Object type cannot be converted to target type.
I have the delegate defined in both the late bound dll and the host assembly
like this:
public delegate void Job();