473,500 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remoting basics

Hi!
We are thinking about using C# for a client-server application.
The scenario is like this:
We've got an old Automation enabled single threaded application.
We hope to do a COM component that can be loaded by the application,
starts a second thread and then serves requests.
The second thread will only communicate with "our" code running
in the Application thread.
The goal is that an external application can connect to the
second thread, which in turn communicates with the first thread.
That way we can call our own methods and retrieve results and events,
which is not possible if we just used the applications COM interface.

What I've seen so far from microsofts overview documents is that
server objects are always created by a server on demand. However, that
is not what we want. We want our component to start up when the application
starts, and the server to redirect requests to that existing component
instead of creating a new instance.

Is this possible?

Lots of Greetings!
Volker
--
For email replies, please substitute the obvious.
May 10 '06 #1
1 989
Should be able to have your object contact the server and say "yo, I'm over
here now" when initialized and then the server and grab that request and add
it to the queue of where to send messages.
--
KMG Software, Inc.
Thinking Beyond, Above, and Before
http://www.kmgsoftware.com
"Volker Hetzer" wrote:
Hi!
We are thinking about using C# for a client-server application.
The scenario is like this:
We've got an old Automation enabled single threaded application.
We hope to do a COM component that can be loaded by the application,
starts a second thread and then serves requests.
The second thread will only communicate with "our" code running
in the Application thread.
The goal is that an external application can connect to the
second thread, which in turn communicates with the first thread.
That way we can call our own methods and retrieve results and events,
which is not possible if we just used the applications COM interface.

What I've seen so far from microsofts overview documents is that
server objects are always created by a server on demand. However, that
is not what we want. We want our component to start up when the application
starts, and the server to redirect requests to that existing component
instead of creating a new instance.

Is this possible?

Lots of Greetings!
Volker
--
For email replies, please substitute the obvious.

May 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1882
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
5
5656
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
0
3268
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
1
989
by: Paul Fi | last post by:
yes i want to get beyond the basics of .NET remoting at least the one thing that im quite interested in is what goes on at runtime, for example when a client invokes a remote method how is the...
0
1404
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
0
2396
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a...
1
929
by: A_PK | last post by:
Anyone could provide more infomartion about .Net Remoting. I have been to msdn.microsoft.com there to look for some references, but I just have no idea how it work....Could someone able to give...
8
1728
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged...
0
3386
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false);...
6
2492
by: AAAAA | last post by:
Is WCF better than Net remoting?? What are the adventages of WCF?? Thank you Cesar
0
7018
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7232
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6906
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5490
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4611
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.