Why null reference exception in SetMolePublicInstance?
- by OldGrantonian
I get a "null reference" exception in the following line:
MoleRuntime.SetMolePublicInstance(stub, receiverType, objReceiver, name, null);
The program builds and compiles correctly. There are no complaints about any of the parameters to the method.
Here's the specification of SetMolePublicInstance, from the object browser:
…