Path: utzoo!attcan!lsuc!maccs!johns From: johns@maccs.dcss.mcmaster.ca (Conan the Barbarian) Newsgroups: comp.sys.atari.st Subject: Re: v_opnwk() and v_opnvwk() Keywords: metafiles, v_opnwk(), v_opnvwk() Message-ID: <2669E353.24833@maccs.dcss.mcmaster.ca> Date: 4 Jun 90 04:28:03 GMT References: <2661949C.29268@maccs.dcss.mcmaster.ca> Organization: McMaster University, Hamilton, Ontario, Canada Lines: 29 In article <2661949C.29268@maccs.dcss.mcmaster.ca> johns@maccs.dcss.mcmaster.ca (Conan the Barbarian) writes: > > I'm trying to do some GEM programming and I'm having a few problems. >Does anyone else have any experience they can share in doing this? > > This is what happens. When I compile and run the program with >v_opnvwk(), the handle comes back zero and it crashes when I try to call >v_clsvwk(). When I instead use v_opnwk(), it writes a 68 byte file to disk >called GEMFILE.GEM and then crashes. I get 2 bombs and it does not come >back from that command. > I haven't figured it out yet, but after going through the code with a debugger for some hours, I found something that might or might not be usefull. For some reason or other, the code segment where it crashes, it seems to be looking for a pointer at f9ee which turns out to be NULL. I don't know why this is, but that is the reason for the bus error. What is at f9ee? Is this something a user program should know? Somehow I doubt it. Thanks for any input. -- John Schmitt johns@maccs.dcss.mcmaster.ca ...!unet!utai!utgpu!maccs!johns SCHMITTJ@SCIvax.McMaster.ca