From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,ae0e6bcae95c5ad3 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-08-20 05:23:55 PST Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!isoft!jec From: jec@isoft.isoft.com (Jonathan Chinitz) Newsgroups: comp.unix.osf.misc Subject: Re: OSF-DCE debugging Keywords: OSF DCE Debug Message-ID: <352@isoft.isoft.com> Date: 20 Aug 94 03:37:37 GMT References: <3326i0$p1o@gmdzi.gmd.de> Organization: IntelliSoft Corp., Acton MA In article <3326i0$p1o@gmdzi.gmd.de>, lux@gmdzi.gmd.de (Wolfgang Lux) writes: > I have written a small dce server, providing 2 objects with > one interface and different type managers and 1 object with > a diffent interface. > There is no problem using the first two objects. > When using the third object I get the error message: > Exception: unknown interface (dce / rpc) > > Questions: > - where does the idl put the interface uuid contained in the idl-file? > I did not find it in the stub sources. > The interface uuid is part of the interface handle, or ifspec. You can find the construction of it at the end of the server stub code for your interface. The uuid is encoding in hex pairs into the ifspec. Without looking at your code it is hard to figure out what is wrong (boy, isn't that a brilliant one :-)), but you might check and see that your problematic object is mapped to a manager type that is in fact registered with your interface (via rpc_object_set_type). Also, be sure to call rpc_server_register_if twice, once for each interface. > - idl has a trace option. How to get the traces? > I'd like to know the answer to this one, too. Jonathan -- Jonathan Chinitz E-mail: jec@isoft.com IntelliSoft Corp. Tel.: 508-635-9070 Distributed Computing Solutions Fax: 508-635-9210 P.O. Box 2645, Acton, MA 01720