Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!think.com!linus!linus!security!pab From: pab@security.mitre.org (Paul A. Bicknell) Newsgroups: comp.sys.novell Subject: VAPs and File I/O Message-ID: <1991Feb5.195619.1484@linus.mitre.org> Date: 5 Feb 91 19:56:19 GMT Sender: news@linus.mitre.org (News Service) Organization: The MITRE Corp., Bedford MA Lines: 15 Nntp-Posting-Host: security.mitre.org Does anybody have any experience doing file I/O on a server from inside a VAP? We have developed a VAP and need to create/read/write a file. VAPs don't allow standard DOS I/O since int 21 is not supported on the server. We have built assembler language stubs to grab the I/O calls and use far calls via the NetWareShellServices field in the VAP header to reach the Novell supported DOS functions. Everything compiles and links ok but we always get a file handle of 255 ( 0x77, -1?). Is anyone having any luck building VAPs? Does anybody have a better idea on how to do file I/O from a VAP? =============================================================================== Remember: it is better to look good than to feel good.