Problem with .Net Remoting with threads.

  • Thread starter Thread starter fAnSKyer/C# newbie
  • Start date Start date
F

fAnSKyer/C# newbie

My remoting object lanched a thread, and in my server program, I
created a remoting object, bind it in localhost, initialize it[start
the thread]. This works fine. and In server program where I created the
remoting object, I can use method to communicate with the object in
Thread.

However, If I use a client, I can communicate all other stuff except
those inside the thread. and I got an exception

"
Unhandled Exception: System.NullReferenceException: Object reference
not set to
an instance of an object.
"

Hope anyone can help me
Thanks

Fans.
 
I fixed this problem, The thread is okay and Sorry for the mistake.

However I have a new problem.
I used JAVA RMI and .Net Remoting is quite different.

What I want to do is
in Server, new an object, bind this object, and Client can use this
object from remote.

What I found now is.
in Server, Bind an object TYPE[I do not new the object], and Client
should initialize this object.

I am quite confused. who can help me?

Thanks,
Fans
 
Back
Top