Path: utzoo!attcan!lsuc!maccs!johns From: johns@maccs.dcss.mcmaster.ca (Conan the Barbarian) Newsgroups: comp.sys.atari.st Subject: v_opnwk() and v_opnvwk() Keywords: metafiles, v_opnwk(), v_opnvwk() Message-ID: <2661949C.29268@maccs.dcss.mcmaster.ca> Date: 28 May 90 21:14:03 GMT Organization: McMaster University, Hamilton, Ontario, Canada Lines: 24 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? Specifically, I'm trying to write metafiles. The problems I'm coming across involves v_opnwk(), v_clswk(), v_opnvwk(), and v_clsvwk(). Of course I assign workin_in[0] = 31 for metafiles. 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. ABACUS GEM Programmer's Reference mentions that v_opnwk() does not work on the ST and tends to crash. Is there a reason for this, or is it a case of I don't know what I'm doing? Thanks for any help. -- John Schmitt johns@maccs.dcss.mcmaster.ca ...!unet!utai!utgpu!maccs!johns SCHMITTJ@SCIvax.McMaster.ca