Expand|Select|Wrap|Line Numbers
- namespace SharedInterfaces
- {
- public interface ICommunicationService
- {
- void SaySomething( String pText );
- }
- }
Expand|Select|Wrap|Line Numbers
- public delegate void MyFunc( String s );
- ...
- public ICommunicationService obj;
- obj = ( ICommunicationService )
- Activator.GetObject( typeof( ICommunicationService ),
- "ipc://IPChannelName/PaulStuff" );
- // The below line won't work..
- public MyFunc f = obj.SaySomething;
Thanks
Paul