comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » dynamic memory in dll
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
dynamic memory in dll [message #31070] Mon, 03 June 2002 08:21 Go to previous message
Gert Van de Wouwer is currently offline  Gert Van de Wouwer
Messages: 21
Registered: January 2002
Junior Member
Hi,

I want to use C++ code through a dll with call_external. Is it possible to
allocate IDL memory for a variable that is alive after the dll unloads? I
mean:

a= PTR_NEW(/ALLOCATE_HEAP) (???)
call external (name, function, a, b, c,d ,...)
a now contains something (not fixed size)

Is this possible without going through the hassle of learning to cope with
DLM's?

thx

Gert
[Message index]
 
Read Message
Read Message
Previous Topic: Data coordinate system established?
Next Topic: Preferences

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 11:56:11 PST 2025

Total time taken to generate the page: 0.00211 seconds