🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #440

Re: LocalAlloc fails in Visual Basic Control-Help!

#440
From: Rick Masters
Date: Thu, 16 Apr 1992 19:23
10 lines
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!masters
References: <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