Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsc!vgopal From: vgopal@cbnewsc.att.com (venu.p.gopal) Newsgroups: comp.graphics Subject: Re: Turbo Pascal routine to display GIF files Summary: Memory Keywords: GIF, Pascal Message-ID: <1990Dec5.205739.10996@cbnewsc.att.com> Date: 5 Dec 90 20:57:39 GMT References: <7629@hub.ucsb.edu> Organization: AT&T Bell Laboratories Lines: 24 In article <7629@hub.ucsb.edu>, 6500boo@ucsbuxa.ucsb.edu (William Bushing) writes: ! Okay, you graphics types... I'm trying to write a Turbo ! Pascal 5.5 program to identify the green algae and then ! display an image of the identified species. I've got the ! key written for the identification process but since I'm ! not a pro I don't know how to write a graphics file viewing ! routine to view GIF or PCX files within Pascal. I thought ! I'd use TP's EXEC procedure to spawn a child process and ! run FASTGIF to display the approriate GIF file. Dirty ! solution, but it would suffice. Trouble is the routine ! is not working. Can anyone offer suggestions??? ! Thanks in advance.- Bill Bushing Have not used TP's EXEC function myself, so I'm out on a limb here. But, in general, when you do this you have to free up enough memory (all memory is allocated to YOUR program to begin with) to run the child process. I don't know how much memory FASTGIF requires (I know VUIMAGE requires 150K memory without limiting image size), but there has to be sufficient memory to load and execute the child process. This could be your problem. Venu P. Gopal UUCP: ..!att!cbnewsc!vgopal Internet: vgopal@cbnewsc.att.com Brought to you by Super Global Mega Corp .com