home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Germany.EU.net!gmd.de!gmd.de!focke
- From: focke@gmd.de (Stefan Focke)
- Subject: TPW problem: Using huge structures (GlobalAlloc)
- Message-ID: <focke.153.728048311@gmd.de>
- Sender: news@gmd.de (USENET News)
- Nntp-Posting-Host: novell2
- Organization: gmd
- Date: Tue, 26 Jan 1993 11:38:31 GMT
- Lines: 23
-
- Hello!
-
- With GlobalAlloc and GlobalLock I got a pointer to a memory block witch size
- is 600 kBytes.
-
- I want to fill this block with a pattern. So I tried FillChar and found out,
- that it is not possible to fill more than one segment (64 k) with this
- procedure.
-
- My problem is: How can I get the address of the next segment of this block?
- If p is a pointer to the first segment of the 600kB block,
- p=ptr(seg(p)+1,0) seems to be wrong.
-
- Thank you
-
- Stefan Focke (focke@gmd.de)
-
- ----------------------------------------------------------------------
-
- Stefan Focke Tel. 02241-14-3154
- GMD-I8 e-mail: stefan.focke@gmd.de
- Postfach 1316
- D-W 5205 Sankt Augustin 1
-