hi. i have a marshalbyrefobject remoted by IIS. it looks up some data from two databases, builds a timer and then sends the timer back to the client using serialization. The timer has a few events that are handled by the main form in the client that created the marshalbyrefobject. for some reason, i cant get these events to fire. Right now I am using simple addhandlers in the main form on the client to hook up the events.
When I change the marshalbyrefobject to serializable, the events work. could this be becuase when done, this way, the object never runs in the servers process so when it sends the timer to the client, it is created and ran in the clients own thread? and when the object is ran once on the server process, the timer is send to the client and then ran on a differnt thread than the client?


Reply With Quote