Click here to Skip to main content
15,920,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Catching the press of the Power Button Pin
Dmitriy Sinyagin2-Jun-05 14:33
Dmitriy Sinyagin2-Jun-05 14:33 
GeneralTreeView /Spy++/ Handle Pin
Abhishek Karnik2-Jun-05 10:51
Abhishek Karnik2-Jun-05 10:51 
GeneralRe: TreeView /Spy++/ Handle Pin
mav.northwind2-Jun-05 22:13
mav.northwind2-Jun-05 22:13 
GeneralRe: TreeView /Spy++/ Handle Pin
Abhishek Karnik5-Jun-05 10:41
Abhishek Karnik5-Jun-05 10:41 
GeneralC# .NET Remoting problem Pin
Opa Knack2-Jun-05 9:38
Opa Knack2-Jun-05 9:38 
GeneralRe: C# .NET Remoting problem Pin
mav.northwind2-Jun-05 20:29
mav.northwind2-Jun-05 20:29 
GeneralRe: C# .NET Remoting problem Pin
Opa Knack2-Jun-05 21:59
Opa Knack2-Jun-05 21:59 
GeneralRe: C# .NET Remoting problem Pin
mav.northwind2-Jun-05 22:07
mav.northwind2-Jun-05 22:07 
You'll have to override InitializeLifetimeService in your ServerObject class, which has to be derived from MarshalByRefObject, to be precise.

I might be wrong, but I guess the proxy that's created for comm' with the server object could hold your server object's properties in some sort of cache, so that it doesn't have to marshal all get-property calls to the original object. So the proxy could be still alive and provide property values, although the remote object has died already. With method calls the proxy doesn't have a chance but to marshal the call. And when the remote object has died there's nobody to execute the method.

Hope this helps,
mav
GeneralTreeView Pin
Gary Kirkham2-Jun-05 7:52
Gary Kirkham2-Jun-05 7:52 
GeneralRe: TreeView Pin
Christian Graus2-Jun-05 10:25
protectorChristian Graus2-Jun-05 10:25 
GeneralRe: TreeView Pin
Gary Kirkham2-Jun-05 12:33
Gary Kirkham2-Jun-05 12:33 
GeneralRe: TreeView Pin
Christian Graus2-Jun-05 12:42
protectorChristian Graus2-Jun-05 12:42 
GeneralRe: TreeView Pin
Luis Alonso Ramos2-Jun-05 13:00
Luis Alonso Ramos2-Jun-05 13:00 
GeneralRe: TreeView Pin
Christian Graus2-Jun-05 13:03
protectorChristian Graus2-Jun-05 13:03 
GeneralRe: TreeView Pin
Luis Alonso Ramos2-Jun-05 13:22
Luis Alonso Ramos2-Jun-05 13:22 
GeneralRe: TreeView Pin
Christian Graus2-Jun-05 13:25
protectorChristian Graus2-Jun-05 13:25 
QuestionWhat happens when the user leaves? Pin
Sled Dog2-Jun-05 7:14
Sled Dog2-Jun-05 7:14 
AnswerRe: What happens when the user leaves? Pin
Dave Kreskowiak2-Jun-05 9:31
mveDave Kreskowiak2-Jun-05 9:31 
GeneralRe: What happens when the user leaves? Pin
Anonymous2-Jun-05 12:31
Anonymous2-Jun-05 12:31 
GeneralRe: What happens when the user leaves? Pin
Dave Kreskowiak2-Jun-05 16:06
mveDave Kreskowiak2-Jun-05 16:06 
GeneralInteroperability when using Microsoft UIP Pin
Sridhar Subramanian2-Jun-05 6:53
Sridhar Subramanian2-Jun-05 6:53 
Generalmy URL is messed up Pin
Sled Dog2-Jun-05 6:31
Sled Dog2-Jun-05 6:31 
GeneralRe: my URL is messed up Pin
TridentWhite2-Jun-05 6:53
TridentWhite2-Jun-05 6:53 
GeneralRe: my URL is messed up Pin
Sled Dog2-Jun-05 6:58
Sled Dog2-Jun-05 6:58 
Generalthe big Chaos..... Pin
DasdaDAS2-Jun-05 5:46
DasdaDAS2-Jun-05 5:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.