From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,8d6d28959e2fd002,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-01-14 08:08:08 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!news.intercon.com!psinntp!ctp!dmcco From: dmcco@ctp.com (David McCowan) Subject: DCE manager code memory management Message-ID: <1994Jan13.210309.24897@ctp.com> Sender: news@ctp.com Nntp-Posting-Host: wizard.ctp.com Organization: Cambridge Technology Partners Date: Thu, 13 Jan 1994 21:03:09 GMT Hi, Does anyone have any idea how to prevent space allocated by the server stub from being deallocated upon return of the RPC. I am passing character strings from a DCE client to a DCE server. The parameters in the IDL file have the "string" attribute. Upon the server returning from the RPC, I do NOT want the server to free the space allocated by the server stub used to recreate the string on the server. I tried using the "heap" attribute in the ACF, but this does not seem to work. The documentation indicates that I can switch between the rpc_ss_allocate/rpc_ss_free and the malloc/free memory management mechanisms. There is no indicatation of this capability in the server. Thanks, Dave McCowan dmcco@ctp.com (617) 374-8334 -- --------------------------------------------------------------------------- David McCowan Cambridge Technology Partners dmcco@ctp.com