6500boo@ucsbuxa.ucsb.edu (William Bushing) (12/04/90)
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 :r sigfile
vgopal@cbnewsc.att.com (venu.p.gopal) (12/06/90)
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