TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mads Orbesen Troest
from: Mario Semo
date: 1998-12-22 12:44:24
subject: Returning long strings to REXX from extension DLL

Hallo Mads!

Antwort auf eine Message von Mads Orbesen Troest an All:

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

it should.

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

no. REXX will free the memory by DosFreeMem, and this is not valid for
memory allocated with malloc, new,...

Servus, Mario!

--- FleetStreet 1.21 PR#2
* Origin: LC/32 Development Team, http://www.kirchnersoft.com (2:310/14.11)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 310/14 1 65 24/888 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™.