Click here to Skip to main content
15,915,164 members
Home / Discussions / C#
   

C#

 
QuestionExtracting List Objects Pin
nlowdon3-Dec-08 4:37
nlowdon3-Dec-08 4:37 
AnswerRe: Extracting List Objects Pin
J4amieC3-Dec-08 5:09
J4amieC3-Dec-08 5:09 
AnswerRe: Extracting List Objects [modified] Pin
Thomas Weller3-Dec-08 5:15
Thomas Weller3-Dec-08 5:15 
AnswerRe: Extracting List Objects Pin
moon_stick3-Dec-08 5:20
moon_stick3-Dec-08 5:20 
GeneralRe: Extracting List Objects Pin
J4amieC3-Dec-08 5:29
J4amieC3-Dec-08 5:29 
JokeRe: Extracting List Objects Pin
moon_stick3-Dec-08 5:32
moon_stick3-Dec-08 5:32 
AnswerRe: Extracting List Objects Pin
Guffa3-Dec-08 5:28
Guffa3-Dec-08 5:28 
QuestionExpose Objects through Remoting with Windows services Pin
MarkPhB3-Dec-08 2:24
MarkPhB3-Dec-08 2:24 
Deusche Version: (für die deutschsprachigen unter uns)

Hi,
Ich möchte eine Anwendung schreiben die aus einem Windows Dienst (Server) und einer Desktopanwendung (Client) besteht. Der Dienst erstellt dabei eine Instanz von einr Klasse, die selbstständig, mit meheren Ressourcen, über dem SerielPort und TCP/IP, arbeitet. Die Desktopanwendung soll sich nun irgend wie mit dem Dienst in Verbindung setzten und dieses Instance abrüfen können um bestimmte Events zu behandel, Eigenschaften abzufragen und methoden auszuführen.

Soweit ich weiß gibt es da eine möglichkeit mittels remoting. Aber bei dem was ich bisher gesehen hab, wird das Object, erst durch den Abruf durch eines Clients erstellt. Ich brauche das Object aber bereits beim Start des Dienstes und nicht erst wenn es irgend jemand abruft.

Daher meine Frage: Wie ist es möglich ein Objekt welches ich selbst erstellt hab, einer Desktopanwendung zur Verfügung zu stelllen ?

--------------------------------------------------
english version:

Hi,
I want to write an application with a windows service as server and a desktop application as client. The service creates an instance of class which works independently with serveral resources on the SerielPort and the TCP/IP. The desktop application must be able to connect to the service and get the afore created instance and may handle events, invoke properties and perform methods.

As far as I know there is a possibility using Remoting. But with what I've seen so far, the instance will first created on a demand by a client. But I already need the object on the start of the service and not only when someone demand it.

Thats why my question: How is it possible to expose or provide an instance, which I've created on my own, for a desktop application ?
AnswerRe: Expose Objects through Remoting with Windows services Pin
Jimmanuel3-Dec-08 4:09
Jimmanuel3-Dec-08 4:09 
QuestionHammersley Sampling Pin
GAbirkan3-Dec-08 0:55
GAbirkan3-Dec-08 0:55 
AnswerRe: Hammersley Sampling Pin
Alan Balkany3-Dec-08 4:15
Alan Balkany3-Dec-08 4:15 
QuestionHomography Question Pin
VincentOng2-Dec-08 23:49
VincentOng2-Dec-08 23:49 
AnswerRe: Homography Question Pin
User 66582-Dec-08 23:54
User 66582-Dec-08 23:54 
GeneralRe: Homography Question Pin
VincentOng3-Dec-08 0:00
VincentOng3-Dec-08 0:00 
GeneralRe: Homography Question Pin
User 66583-Dec-08 0:16
User 66583-Dec-08 0:16 
GeneralRe: Homography Question Pin
VincentOng3-Dec-08 0:34
VincentOng3-Dec-08 0:34 
GeneralRe: Homography Question Pin
User 66583-Dec-08 0:56
User 66583-Dec-08 0:56 
GeneralRe: Homography Question Pin
Luc Pattyn3-Dec-08 1:06
sitebuilderLuc Pattyn3-Dec-08 1:06 
GeneralRe: Homography Question Pin
VincentOng3-Dec-08 1:08
VincentOng3-Dec-08 1:08 
GeneralRe: Homography Question Pin
Luc Pattyn3-Dec-08 1:30
sitebuilderLuc Pattyn3-Dec-08 1:30 
GeneralRe: Homography Question Pin
Christian Graus4-Dec-08 8:17
protectorChristian Graus4-Dec-08 8:17 
QuestionConnecting with remote server Pin
SelvaSR2-Dec-08 22:52
SelvaSR2-Dec-08 22:52 
Questionconsole application current path Pin
l.laxmikant2-Dec-08 22:18
l.laxmikant2-Dec-08 22:18 
AnswerRe: console application current path Pin
leppie2-Dec-08 22:37
leppie2-Dec-08 22:37 
AnswerRe: console application current path Pin
Simon P Stevens2-Dec-08 22:39
Simon P Stevens2-Dec-08 22:39 

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.