From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,3107a225d63538ce,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-01-14 14:59:37 PST Newsgroups: comp.unix.osf.misc Path: sparky!uunet!ukma!cs.widener.edu!dsinc!spool.mu.edu!torn!newshub.ccs.yorku.ca!news From: ed@antares.sis.yorku.ca (Ed McCurdy) Subject: how can I work around RCP context handle restrictions? Message-ID: <1993Jan14.191826.10276@newshub.ccs.yorku.ca> Summary: how can a set of context handles be returned from an IDL function? Keywords: RPC IDL context_handle Sender: news@newshub.ccs.yorku.ca (USENET News System) Reply-To: ed@nexus.yorku.ca (Ed McCurdy) Organization: York University Date: Thu, 14 Jan 1993 19:18:26 GMT I wanted an IDL function that returned a set of context handles. Ideally, the cardinality of the set would be specified at run time. Are there any design or implementation strategies that would allow me to work around these restrictions? ------ extract from "DCE Appl. Dev. Guide", pg. 17-55 "You cannot use context handles as an array element, as a structure or union member, or as the base type of a pipe." ... "A context handle cannot be pointed to, except by a top-level reference pointer." ---- They seem to prevent me from returning a data structure containing context handles. Any advice would be very much appreciated. (Email preferred, i will post a summary of any useful responses here.) Ed -- Ed McCurdy, York University SIS Project, F wing, EOB 4700 Keele St. North York, Ont. Canada M3J 1P3 Tel:(416) 736-2100x22685 FAX:(416) 736-5700 Email: ed@nexus.yorku.ca -- Ed McCurdy, | ed@nexus.yorku.ca York University, Toronto, Canada | (416) 736-2100x22685