[comp.os.vms] uVaxens and the use of UIS rtns with C

saganich%frodo.DECnet@MGHCCC.HARVARD.EDU ("FRODO::SAGANICH") (09/07/87)

Dear netlanders,
	I am a novice to the use of the UIS routines and I am having a
problem.  When I run the following fragment on my uVAXC GPX (running uVMS
version 4.5) I get a access violation. Can anyone see whats wrong! Am I 
stupid or just blind?  I can get the code to run in fortran but I am 
more familiar with C and so I would rather use it.


		Thanks in advance
		Al Saganich
		Mass General hospital
		Boston, MA.
		saganich%arwen.decnet@mghccc.harvard.edu
		or saganich%frodo.decnet@mghccc.harvard.edu

#include <stdio.h>
#include <uisentry.h>
#include <uisusrdef.h>


main()
{
long int vd_id; /* the virtual display id */ 



------