TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Mads Orbesen Troest
date: 1998-12-18 14:20:34
subject: Returning long strings to REXX from extension DLL

Why, Hello All...

The REXX reference states that in order to return - from an extension DLL -
data longer than the pre-allocated 256 chars of the default return string,
one has to allocate room for it using DosAllocMem.

Just to be on the safe side: This /does/ mean that as control is returned
to REXX, REXX will, by itself, clean up this allocated memory when
required?

Can I, by the way, use a standard C memory allocation function rather than
calling DosAllocMem explicitly?

Thanks in advance, of course... ;-)

   These were the incoherent ramblings of ...
      ... Mads Orbesen Troest 

--- FleetStreet 1.21+
* Origin: Al falle it foule or faire... (2:238/202.1)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 238/202 444 5 9 236/203 270/101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.