From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,7b947278c7c7d7cb X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,7b947278c7c7d7cb X-Google-Attributes: gidfc7fa,public X-Google-ArrivalTime: 1993-06-22 12:23:06 PST Newsgroups: comp.sys.vms,comp.os.vms Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!ames!decwrl!pa.dec.com!e2big.mko.dec.com!star.enet.dec.com!kleinsorge From: kleinsorge@star.enet.dec.com (Fred Kleinsorge) Subject: Re: Create & QIO to DECterms Message-ID: <1993Jun22.191457.28022@e2big.mko.dec.com> Keywords: DECterm Sender: usenet@e2big.mko.dec.com (Mr. USENET) Reply-To: kleinsorge@star.enet.dec.com (Fred Kleinsorge) Organization: Digital Equipment Corporation X-Newsreader: mxrn 6.18-4 References: <1993Jun22.164105.23968@mprgate.mpr.ca> Date: Tue, 22 Jun 1993 19:14:57 GMT The system service is giving you a error from the probe of the arguments. I'd check either the line: terminal.dsc$a_pointer = device_name; and make it: terminal.dsc$a_pointer = &device_name[]; or the line: status = sys$assign(terminal, &user_input_chan, 0, 0); and make it: status = sys$assign(&terminal, &user_input_chan, 0, 0); I always get into trouble on how C decides what to do when passing structures. -- +--------------------------------------+ Fred Kleinsorge | All opinions expressed are mine, and | kleinsorge@star.enet.dec.com | may not reflect those of my employer | +--------------------------------------+