Article View: comp.windows.ms.programmer
Article #440Re: LocalAlloc fails in Visual Basic Control-Help!
From: Rick Masters
Date: Thu, 16 Apr 1992 19:23
Date: Thu, 16 Apr 1992 19:23
10 lines
856 bytes
856 bytes
>Changing the code to do GlobalAlloc makes everything work find, >but I cant do this for real as Global memory belongs to the DLL client You may be able to use GlobalAlloc after all. I believe if you use the flag GMEM_DDESHARED when allocating the memory, the memory is not freed when the calling application exits. Rick Masters
Technical Details
Message-ID:
<1992Apr16.192315.19467@beaver.cs.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!batcomputer!cornell!uw-beaver!mastersReferences:
<1992Apr16.084937.12524@hemel.bull.co.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!batcomputer!cornell!uw-beaver!masters From: masters@cs.washington.edu (Rick Masters) Subject: Re: LocalAlloc fails in Visual Basic Control-Help! Message-ID: <1992Apr16.192315.19467@beaver.cs.washington.edu> Sender: news@beaver.cs.washington.edu (USENET News System) Organization: Computer Science & Engineering, U. of Washington, Seattle References: <1992Apr16.084937.12524@hemel.bull.co.uk> Date: Thu, 16 Apr 92 19:23:15 GMT Lines: 11