Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!tut.cis.ohio-state.edu!mailrus!caen.engin.umich.edu!bdenh From: bdenh@caen.engin.umich.edu (Brian J Denheyer) Newsgroups: comp.sys.atari.st Subject: Using user-define AES objects Keywords: AES GEM user-defined Message-ID: <436aa488.14e01@elwood.engin.umich.edu> Date: 24 May 89 17:28:00 GMT Distribution: usa Organization: U of M Engineering, Ann Arbor, Mich. Lines: 23 Here's a question to the GEM/AES experts out there. I'm trying to use the object type G_USERDEF which is associated with the following structure (MWC 3.0) : typedef struct { long ub_code; long ub_parm; } USERBLK; I've constructed the tree which incorporates a user-defined object and I have the object calling some VDI routines when I execute objc_draw on the tree. So in effect it works. My question (finally) is : how do I get a hold of ub_parm which is supposedly a pointer to the parameter you want passed ? It would be very useful to me if I could have a pointer passed to the routine pointed to by ub_code. I can't figure out how this works. Thanks in advance Brian J. Denheyer #include