[comp.sys.novell] VAPs and File I/O

pab@security.mitre.org (Paul A. Bicknell) (02/06/91)

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.