Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!spool.mu.edu!munnari.oz.au!mtiame!jep From: jep@mtiame.mtia.oz (Jesper Peterson) Newsgroups: comp.sys.amiga.programmer Subject: Re: 2.0 Screens Message-ID: <1991Apr5.031207.8472@mtiame.mtia.oz> Date: 5 Apr 91 03:12:07 GMT References: <4503@orbit.cts.com> Organization: Metal Trades Industry Association, Victoria, Australia. Lines: 25 In article <4503@orbit.cts.com> chucks@pnet51.orb.mn.org (Erik Funkenbusch) writes: |[re: unknown screen type guru] | |struct TagItem scrtags[7] = {{SA_Overscan, OSCAN_TEXT},{SA_Pens, ~0}, | {SA_FullPalette, TRUE},{SA_Type, CUSTOMSCREEN}, | {SA_Title, "BBS Screen"},{SA_Width, 640}, | {TAG_END, NULL}}; | |struct NewScreen myscreen = {0, 0, 640, 200,3,1,0,HIRES,CUSTOMSCREEN,NULL, | "BBS Screen", NULL, NULL}; | |if ((scr = OpenScreenTagList (myscreen, &scrtags)) == NULL) ^& Is the ampersand missing from myscreen a typo in this message or is this included directly from your code? I'm not sure that scrtags requires an ampersand since it is an array but I'm not familiar with the new 2.0 calls. Try this anyway (assuming this is not the way you are actually doing it already): if ((scr = OpenScreenTagList (&myscreen, scrtags)) == NULL) Jesper Peterson. -- ------------------------------------------------------------------------ USEnet: jep@mtiame.mtia.oz.au UUCP: ...!uunet!munnari!mtiame.oz!jep 90% of everything is IBM compatible - Paraphrased From Theodore Sturgeon