Click here to Skip to main content
16,005,682 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI+ probs Pin
Confuzler6-Apr-05 4:57
Confuzler6-Apr-05 4:57 
GeneralAdd Image icon in textbox Pin
Adnan Siddiqi6-Apr-05 2:21
Adnan Siddiqi6-Apr-05 2:21 
GeneralRe: Add Image icon in textbox Pin
leppie6-Apr-05 2:45
leppie6-Apr-05 2:45 
GeneralDelegate on a MarshalByRefObject Pin
PEK6-Apr-05 1:17
PEK6-Apr-05 1:17 
GeneralRe: Delegate on a MarshalByRefObject Pin
S. Senthil Kumar6-Apr-05 1:27
S. Senthil Kumar6-Apr-05 1:27 
GeneralRe: Delegate on a MarshalByRefObject Pin
PEK6-Apr-05 5:03
PEK6-Apr-05 5:03 
GeneralRe: Delegate on a MarshalByRefObject Pin
Tom Larsen6-Apr-05 4:45
Tom Larsen6-Apr-05 4:45 
GeneralRe: Delegate on a MarshalByRefObject Pin
PEK6-Apr-05 5:59
PEK6-Apr-05 5:59 
Thank you for your thoughts. I really appreciate opinions about the logic about the program sense I haven’t used remoting before.

I will probably not use delegates but probably interfaces instead. I create an interface with some functions that the server will have, implement the functions on the server and then have an interface-reference on the remote object to server. But when I do this I still get the security exception. Is this is also bad design?

The remote object must in some way communicate with the server object, which I think shouldn’t be a problem sense they a running in the same process. CloseSockets will close all sockets that are running (of course not to the clients that are using remoting). An administrator should only use this if something goes wrong, sockets will normally be closed by the clients.

The remoting object should as I said talk to the server. Mostly of the communications will be about the state of the server (like how many sockets that are currently running, again not the clients that are using remoting), but it will be more complex operations too (like StartCoffeeMachine and TurnOfTheTv).

GeneralRe: Delegate on a MarshalByRefObject Pin
Tom Larsen11-Apr-05 6:47
Tom Larsen11-Apr-05 6:47 
GeneralRe: Delegate on a MarshalByRefObject Pin
S. Senthil Kumar6-Apr-05 20:04
S. Senthil Kumar6-Apr-05 20:04 
GeneralRe: Delegate on a MarshalByRefObject Pin
Tom Larsen11-Apr-05 6:27
Tom Larsen11-Apr-05 6:27 
Questionhow to get screen solution number? Pin
MJay5-Apr-05 23:56
MJay5-Apr-05 23:56 
AnswerRe: how to get screen solution number? Pin
Ray Hayes6-Apr-05 0:12
Ray Hayes6-Apr-05 0:12 
Questionhow to use dll created by C,C++ in C# project? Pin
Sachin Gedam5-Apr-05 23:32
Sachin Gedam5-Apr-05 23:32 
AnswerRe: how to use dll created by C,C++ in C# project? Pin
spif20015-Apr-05 23:42
spif20015-Apr-05 23:42 
GeneralRe: how to use dll created by C,C++ in C# project? Pin
Sachin Gedam6-Apr-05 0:25
Sachin Gedam6-Apr-05 0:25 
GeneralRe: how to use dll created by C,C++ in C# project? Pin
DavidNohejl6-Apr-05 0:33
DavidNohejl6-Apr-05 0:33 
GeneralStarting a new thread -help Pin
Anthony Mushrow5-Apr-05 23:04
professionalAnthony Mushrow5-Apr-05 23:04 
GeneralRe: Starting a new thread -help Pin
spif20016-Apr-05 0:01
spif20016-Apr-05 0:01 
GeneralRe: Starting a new thread -help Pin
S. Senthil Kumar6-Apr-05 1:23
S. Senthil Kumar6-Apr-05 1:23 
GeneralRe: Starting a new thread -help Pin
Anthony Mushrow6-Apr-05 8:41
professionalAnthony Mushrow6-Apr-05 8:41 
GeneralRe: Starting a new thread -help Pin
S. Senthil Kumar6-Apr-05 20:00
S. Senthil Kumar6-Apr-05 20:00 
GeneralMacromedia Flash with C# Pin
Sabry19055-Apr-05 21:57
Sabry19055-Apr-05 21:57 
GeneralRe: Macromedia Flash with C# Pin
S. Senthil Kumar5-Apr-05 22:06
S. Senthil Kumar5-Apr-05 22:06 
GeneralRe: Macromedia Flash with C# Pin
Pyro Joe6-Apr-05 1:09
Pyro Joe6-Apr-05 1:09 

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.