AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1997.03.11 06:09 "Win32 Optimizations !!!", by Shabd
1997.03.12 06:05 "Re: Win32 Optimizations !!!", by Rainer Wiesenfarth
1997.03.12 09:15 "Re: Win32 Optimizations !!!", by Karsten Spang
1997.03.12 11:17 "RE: Win32 Optimizations !!!", by Pesce Roberto
1997.03.12 22:45 "RE: Win32 Optimizations !!!", by Bill Elswick
1997.03.13 13:42 "RE: Win32 Optimizations !!!", by Scott Wagner
1997.03.12 13:44 "Re: Win32 Optimizations !!!", by Scott Wagner

1997.03.13 13:42 "RE: Win32 Optimizations !!!", by Scott Wagner

Hello all,

FYI, the GlobalAlloc family of functions is obsolete in Win32. They are a holdover from 16-bit Windows, and not to be used.

According to the Win32 API, "A process can use the GlobalAlloc and LocalAlloc functions to allocate memory. In the linear 32-bit environment of the Win32 API, the local heap and the global heap are not distinguished. As a result, there is no difference between the memory objects allocated by these functions."

Regards,

Scott Wagner (wagner@itek.com)
Staff Engineer
Itek Graphix
Rochester, NY USA