Article View: microsoft.public.win32.programmer.ole
Article #15Re: How to get DCOM client computer name?
From: Girish Bharadwaj
Date: Mon, 17 Jan 2000 00:00
Date: Mon, 17 Jan 2000 00:00
21 lines
1253 bytes
1253 bytes
If you want to do this on the server, you have to 1. Either use channel hooks (read about this in Jan 98 MSJ). 2. You can add some local/call_as pair and try to stuff the name of the machine into the method call via the proxy/stub pair.. 3. Make the client pass it in.. On Fri, 14 Jan 2000 21:58:05 GMT, Martin Liu <@home.com> wrote: >DCOM servers can use CoQueryClientBlanket to find out the domain & >username of client processes that ivoke the server, but is there an API >call which allows us to retrieve the computer name/IP which the client >process runs on.... > >Thanks in advance : ) > >// Martin > -- Girish Bharadwaj [mvp]
Technical Details
Message-ID:
<OPZ3b3PY$GA.347@cppssbbsa02.microsoft.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<387F9CBE.698E9F4@home.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe15c,f10f674d79320465 X-Google-Attributes: gidfe15c,public X-Google-Thread: fd196,f10f674d79320465 X-Google-Attributes: gidfd196,public From: girishb@mvps.org (Girish Bharadwaj) Subject: Re: How to get DCOM client computer name? Date: 2000/01/17 Message-ID: <OPZ3b3PY$GA.347@cppssbbsa02.microsoft.com> X-Deja-AN: 573770945 References: <387F9CBE.698E9F4@home.com> User-Agent: slrn/0.9.5.7 (Windows) Reply-To: iunknown_mvp@hotmail.com Newsgroups: microsoft.public.win32.programmer.ole,borland.public.delphi.oleautomation