10-29-2009 07:45 AM
Hello,
is it possible to use the CallLibraryNode to load several instances of a dll but each of it should have its own memory space?
For CINs, there are functions like GetDSStorage and SetDSStorage which provide private memory for each instance of a CIN.
These functions doesn't seem to work in Dlls.
Is there something similar available for Dlls?
Thank you.
Christian
10-31-2009 07:53 AM
ChristianEC wrote:Hello,
is it possible to use the CallLibraryNode to load several instances of a dll but each of it should have its own memory space?
For CINs, there are functions like GetDSStorage and SetDSStorage which provide private memory for each instance of a CIN.
These functions doesn't seem to work in Dlls.
Is there something similar available for Dlls?
Thank you.
Christian
You need to have the DLL provide that functionalty explicitedly. Not by loading the DLL multiple times but by functionality that allocates a memory block to contain the local data of that instance and deallocate it afterwards. If you know C++ you basically would implement an object that is the instance of your operation/data.
11-02-2009 02:42 AM
Ok, thank you, I will look into this.
Christian