Heap storage is owned by the enclave not any particular DLL. It exists until it is deliberately freed. Global storage in C/C++ is data defined as extern or (when compiled RENT) static and is allocated when the main module or DLL is loaded in the Writable Static Area (WSA). The WSA for a DLL will be freed when a DLL is unloaded.
In article <00cf01d545b2$1a0491e0$4e0db5a0$@gmail.com> you wrote: > Hi > > > I have written DLL's on Windows Platform the persistent storage (storage > needed between calls to exported functions) > > I save in something called Thread Local Storage > > Looking at the examples in the XL C\C++ all the storage seems to be > allocated on the Stack, meaning once it leaves on exported functions it wont > be available to others, would anyone know > > Where global or Heap Storage is stored for a DLL > > > > thanks -- Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive sas...@sas.com (919) 531-5637 Cary, NC 27513 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN