Hi all,
I would like to create a sort of caching or state
controller mechanism in VB.NET. In VB6 it is possible to
create a single threaded ActiveX executable. With an API
call you can lock an instance of this ActiveX, so it stays
in memory even when no instance is active. And because
it's single threaded, every call returns the same data
stored in the instance.
Now I would like to create a class in .NET with the same
functionality. So basically the class has to provide some
sort of 'shared memory'.
Can someone help me with this problem?
Many thanks,
Jan
I would like to create a sort of caching or state
controller mechanism in VB.NET. In VB6 it is possible to
create a single threaded ActiveX executable. With an API
call you can lock an instance of this ActiveX, so it stays
in memory even when no instance is active. And because
it's single threaded, every call returns the same data
stored in the instance.
Now I would like to create a class in .NET with the same
functionality. So basically the class has to provide some
sort of 'shared memory'.
Can someone help me with this problem?
Many thanks,
Jan