Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvca!scott From: scott@hpcvca.CV.HP.COM (Scott Linn) Newsgroups: comp.lang.c Subject: Large arrays in MSDOS Message-ID: <4010005@hpcvca.CV.HP.COM> Date: 24 Oct 89 18:46:17 GMT Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 27 Hello, I've been having a problem trying to use an array greater than 64k on an msdos machine. What I have is the following: char foo; char FAR *bigbuf; . . . bigbug=farmalloc(125000L); Then, I try to use bigbuf as a linear array: bigbuf((long) some_pointer*some_num) = foo; (I have compiled using the D model) I am having problems with getting this to work, and I'm not sure if it's something in my implementation, or my whole method is bogus. Does anyone out there know if this should work? Thanks, Scott Linn hplabs!scott@hpcvcbh