Question and Answer Database FAQ491C.txt Using huge pointers and GlobalAlloc() Category :Windows API Platform :Windows 3.1 Product : BC++4.5x BC++5.x Question: Does anyone know the standard work around for segment span using _huge* pointers and GlobalAlloc? If we can't use over a 64K chunk of memory at one time...why do we even bother? Every other OS in the WORLD can do it...there must be a patch somewhere. Answer: Using huge pointers allows you to create and access blocks of data> 64K. The only caveat is that a single data element may not cross a 64K border. So, if your block of memory contains an array of structures, make sure that the structure has a sizeof() which is a power of 2. 7/2/98 10:32:32 AM
Last Modified: 01-SEP-99