morris@ucunx1.san.uc.edu (Ted Morris) (04/03/91)
We're trying to get a digitizing project up and running, and have run into a snag on what we thought would be the most simple aspect of the code--getting the material off the digitizing board's video RAM and into the CPU memory so it can be manipulated into files, etc. The problem seems to center around the usage of the CopyBits routine fromApple. I have some sample Think C code, etc., as handed to me by our contract programmer who is stuck on -why- his code (to take a digitized image off the NuVista board and move it into CPU, so it can be stored as a file) isn't working. NuVista's own "CAPTURE" program works just fine in standalone mode; we're trying to do this behind the scenes in response to a networked Mac's call to the Mac with the laser disk player and NuVista board, "Hey--fetch me the picture on frame n!" He's got the network transport (TSSnet) down pat (database is Oracle on a VAX with Oracle for Macintosh as user interface to main activity running at this time), but the damned COPYBITS is blowing up on him. TrueVision has looked at this code and says, "Yeah, it looks like it ought to work"--and then it bombs on their machines, too. They're going to take another look at it for us, but we could still use your comments! (-: Environment here: Mac II with 4-5 Meg + Virtual, System 6.0.4 or 6.0.5 (not sure). IF I SEND YOU A DISK WITH THE CODE, CAN YOU HELP FIND WHAT'S WRONG? We're under a tight deadline, but desparate! Thanks! Ted Morris, University of Cincinnati, 513-558-6046 voice, 513-558-0758 fax, AppleLink U1091, Internet MORRIS@UCUNIX.SAN.UC.EDU -or- MORRIS@UCMCIC.OA.UC.EDU, snappy .sig in Beta@@#$@#$@#$$^$%!