Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 13th, 2005, 12:32 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default One instance of C# compo. serving multiple clients

Situation:
    I have an ActiveX component which is written in C++.
    Now I have written a wrapper around it, say "Component A",
        in C# (a dll).
Problem:
    1:Now how can I use "Component A" so that more than one
          client use the "same instance" of "Component A".
          Already existing "Component A" instance should
      also serve a new client.
    2:From which functionality I can do the load balancing for
          this "Component A"?Means for more than say 3 client a new
          instance of "Component A" will handle the new client.

Appreciate your help.

-N
 
Old January 14th, 2005, 03:53 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I could resolve this issue with .net remoting.Intentiate the object as singleton through .net remoting.
Cheers...

Quote:
quote:Originally posted by Nalin
 Situation:
    I have an ActiveX component which is written in C++.
    Now I have written a wrapper around it, say "Component A",
        in C# (a dll).
Problem:
    1:Now how can I use "Component A" so that more than one
         client use the "same instance" of "Component A".
         Already existing "Component A" instance should
     also serve a new client.
    2:From which functionality I can do the load balancing for
         this "Component A"?Means for more than say 3 client a new
         instance of "Component A" will handle the new client.

Appreciate your help.

-N




Similar Threads
Thread Thread Starter Forum Replies Last Post
Serving images kuvera Apache Tomcat 0 August 19th, 2006 12:02 PM
Sending message to multiple clients through asp.ne madhavan General .NET 0 January 27th, 2006 07:36 AM
Check Multiple running Instance of DTS Package greenash SQL Server DTS 0 January 3rd, 2005 09:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.