Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: kleinsorge@star.enet.dec.com (Fred Kleinsorge)
Subject: Re: Create & QIO to DECterms
Date: Tue, 22 Jun 1993 19:14:57 GMT	[thread overview]
Message-ID: <1993Jun22.191457.28022@e2big.mko.dec.com> (raw)
In-Reply-To: 1993Jun22.164105.23968@mprgate.mpr.ca


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 |
					+--------------------------------------+


  reply	other threads:[~1993-06-22 19:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-22 16:41 Create & QIO to DECterms Vincent Li
1993-06-22 19:14 ` Fred Kleinsorge [this message]
1993-06-23 12:19   ` Ron Fox
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox