Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to cut video to images by C# Pin
Heath Stewart23-Apr-04 10:34
protectorHeath Stewart23-Apr-04 10:34 
QuestionHow to display the next Record's autonumber in the form? Pin
Anonymous23-Apr-04 8:07
Anonymous23-Apr-04 8:07 
AnswerRe: How to display the next Record's autonumber in the form? Pin
Heath Stewart23-Apr-04 10:31
protectorHeath Stewart23-Apr-04 10:31 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Anonymous23-Apr-04 23:50
Anonymous23-Apr-04 23:50 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Heath Stewart24-Apr-04 8:12
protectorHeath Stewart24-Apr-04 8:12 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Anonymous25-Apr-04 2:07
Anonymous25-Apr-04 2:07 
GeneralRegenerate Print Preview Pin
hxxbin23-Apr-04 8:03
hxxbin23-Apr-04 8:03 
GeneralRe: Regenerate Print Preview Pin
Heath Stewart23-Apr-04 10:29
protectorHeath Stewart23-Apr-04 10:29 
GeneralRe: Regenerate Print Preview Pin
hxxbin26-Apr-04 4:14
hxxbin26-Apr-04 4:14 
GeneralMultiple childs of MDI form Pin
turist6923-Apr-04 7:03
turist6923-Apr-04 7:03 
GeneralRe: Multiple childs of MDI form Pin
Heath Stewart23-Apr-04 7:21
protectorHeath Stewart23-Apr-04 7:21 
GeneralRe: Multiple childs of MDI form Pin
turist6923-Apr-04 8:00
turist6923-Apr-04 8:00 
GeneralAppDomain.DomainUnload never fired automatically Pin
VizOne23-Apr-04 6:16
VizOne23-Apr-04 6:16 
GeneralRe: AppDomain.DomainUnload never fired automatically Pin
leppie23-Apr-04 7:00
leppie23-Apr-04 7:00 
GeneralRe: AppDomain.DomainUnload never fired automatically Pin
VizOne25-Apr-04 8:30
VizOne25-Apr-04 8:30 
GeneralP/Invoke and strings Pin
Dominik Reichl23-Apr-04 6:04
Dominik Reichl23-Apr-04 6:04 
GeneralRe: P/Invoke and strings Pin
Heath Stewart23-Apr-04 6:11
protectorHeath Stewart23-Apr-04 6:11 
QuestionMultithreaded shared remote object ? Pin
Gangren23-Apr-04 5:50
Gangren23-Apr-04 5:50 
AnswerRe: Multithreaded shared remote object ? Pin
Heath Stewart23-Apr-04 6:14
protectorHeath Stewart23-Apr-04 6:14 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren23-Apr-04 6:24
Gangren23-Apr-04 6:24 
Heath Stewart wrote:
You want the same client to execute the remote method multiple times at once? Or do you want multiple clients (i.e., multiple processes, perhaps even on different machines) to call it? The latter is already taken care of for you, which is why you should internally lock any resources if appropriate in your remote method.

Indeed, it's about multiple clients, each of one doing 1 single call at a time. But from the tests i ran, here's what happens :
Client 1 calls remote_method
Client 2 calls remote method
remote_method takes 30 seconds to complete and returns result to Client 1
remote_method takes 30 seconds to complete and returns result to Client 2

So Client2 will wait 60 seconds before getting his result, which is not acceptable in my case where i'll have up to 15 clients calling the service. I need the server to treat requests simulteanously, which is why i need him to create a new thread on each call.

I just don't know the best way to implement this, and if i absolutely need asynchronous dialog using deleguates (which would require to have a MBR object client-side too, from what i understood)

Thanks for quick reply though, i really appreciate Smile | :)

Etienne.
GeneralRe: Multithreaded shared remote object ? Pin
Heath Stewart23-Apr-04 6:35
protectorHeath Stewart23-Apr-04 6:35 
GeneralRe: Multithreaded shared remote object ? Pin
Tom Larsen23-Apr-04 10:06
Tom Larsen23-Apr-04 10:06 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren23-Apr-04 12:59
Gangren23-Apr-04 12:59 
GeneralRe: Multithreaded shared remote object ? Pin
Tom Larsen29-Apr-04 11:07
Tom Larsen29-Apr-04 11:07 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren29-Apr-04 11:22
Gangren29-Apr-04 11:22 

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.