Its not so much multi-threading as inter-process communication (IPC) that you need info on. The .Net way to do IPC either on the same machine or across the network on different machines is Remoting plain and simple. Remoting is relatively simple and gives you transparent access to object running in different processes by value or by reference, there is no other straight forward way to accomplish this. Note that remoting is not limited to HTTP/Soap but has a pluggable wire formatter and transport protocol, allowing other (faster) methods to be used for remoting. If you simply cannot use remoting there is always using sockets directly, or some other method that might tie you more closely to Win32 (shared memory,pipes,mem mapped files, rpc, etc. etc.) if that matters to you, but they will not give a "reference" to a class running in another process.
Justin -----Original Message----- From: Alex Henderson [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 9:30 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Attaching to a window If I have a class instantiated in a window service, can another program on the same machine get a reference to the class instance in the windows service's thread and call its methods ... I don't really want to use remoting/web services if possible so I see this as being an ?easy? alternative. Additionally are there any good on-line resources discussing multi-threading etc. in the .Net framework that might point me in the right direction. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.