Article View: comp.windows.ms.programmer
Article #1355Reading large data amounts in Actor.
From: kevin reilly
Date: Fri, 01 Feb 1991 18:07
Date: Fri, 01 Feb 1991 18:07
19 lines
1218 bytes
1218 bytes
This is directed to Actor users. Thank you in advance. I have been having problems reading large binary data files (~250K). I have been putting the data into an array whose memory was allocated using GlobalAlloc(...). The problem occurs when I start to read the file in amounts of 9192 bytes. the reason for 9192 bytes is that the Actor method bRead(..) crashes every time I use it and read(..) seems to have some limitation attached to the size it can read. After approximately 9 or 10 reads from the file the system crashes. I use checkError after every read and it comes up empty. Apparently it has something to do with getting the data intto the global memory location. It is locked and the data space is allocated (Can even see this in ShowRoom). Please Help! reilly@bnlux0
Technical Details
Message-ID:
<2470@bnlux0.bnl.gov>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!agate!usenet.ins.cwru.edu!ukma!rex!samsung!caen!math.lsa.umich.edu!sharkey!bnlux0!reillyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!agate!usenet.ins.cwru.edu!ukma!rex!samsung!caen!math.lsa.umich.edu!sharkey!bnlux0!reilly From: reilly@bnlux0.bnl.gov (kevin reilly) Newsgroups: comp.windows.ms.programmer Subject: Reading large data amounts in Actor. Keywords: Actor Windows Message-ID: <2470@bnlux0.bnl.gov> Date: 1 Feb 91 18:07:41 GMT Organization: Brookhaven National Lab Lines: 19