Callbacks from C dll to .net remoting object
I am using a third party C dll and registering a delegate with it to get callbacks. The declaration of delegate in C# is given below.
delegate void dLiveCallBack();
C API to register for callback is
[DllImport("XYZ.dll")]
private static extern Int32 StartLive(dLiveCallBack CallBackFunc);
When i try it with C# console or Winform application, i get the callbacks successfully. When i try the same in .net remoting object, callbacks are not happening. I am not sure why callbacks are not working with remoting. My remoting object is a Singleton object. Appreciate any kind of help on this.
Kindly let me know if u need more details..
Thanks
Jeet

