Re: XL C\C+ DLL Storage

2019-07-28 Thread Don Poitras
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

XL C\C+ DLL Storage

2019-07-28 Thread Joseph Reichman
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