Windows service
-
Hi, could anyone help me with my problem? I would like to create windows service to monitor and log outputs from a hardware PCI card (special card connected to some sensors ...) This is simple and I am able to do it, but there is second usage of the service and I don't know how to do it. I have another applications (Windows applications) and they need to connect to the service and receive the data from HW card each time the data changed. It would be great if I'll able to connect to some interface of the service and catch some event OnChange or something similar. I don't know if it is possible and if yes how to do it. Is it possible or is there better way to do this?
-
Hi, could anyone help me with my problem? I would like to create windows service to monitor and log outputs from a hardware PCI card (special card connected to some sensors ...) This is simple and I am able to do it, but there is second usage of the service and I don't know how to do it. I have another applications (Windows applications) and they need to connect to the service and receive the data from HW card each time the data changed. It would be great if I'll able to connect to some interface of the service and catch some event OnChange or something similar. I don't know if it is possible and if yes how to do it. Is it possible or is there better way to do this?
Have you tried doing that with .NET remoting? It supports sending events. Or better yet, have a look at WCF. It supports memory pipes as the communication channel. It should be ideal.
WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
-
Have you tried doing that with .NET remoting? It supports sending events. Or better yet, have a look at WCF. It supports memory pipes as the communication channel. It should be ideal.
WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson