home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!cs.utexas.edu!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!newsserver.sfu.ca!sfu.ca!dtam
- From: dtam@fraser.sfu.ca (Dominic Pok Man Tam)
- Subject: string > 64K in Windows
- Message-ID: <dtam.714469178@sfu.ca>
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- Date: Sat, 22 Aug 1992 07:39:38 GMT
- Lines: 25
-
- Hello :
-
-
-
- I want to allocate a string which is greater than 64K in windows. This should
-
- be possible with GlobalAlloc ( I can allocate max 1MB in standard mode and
-
- 64MB in 386 enhanced mode) and with a huge??? pointer. However, all the
-
- API functions in windows accept only FAR pointer (there's only 3 models for me
-
- to choose : small, medium and large). And from the SDK documentation, I can
-
- pass a huge pointer as FAR pointer only if the huge pointer will not straddle
-
- a 64K boundary. What can I do if I really need to have a string which will
-
- be greater than 64K?
-
-
-
- Thanx in advance !!
-
-
-