M
marek
Hello All,
we are doing a quite a big project that contains at
the lowest level an unmenaged c++ classes. Above it there
are managed wrappers and at the top there are ASP.NET
pages. Can anyone tell me how to force ASP.NET not
to "clear" or reinitialize unmenaged global or static
variables that are set on unmanaged level between
successive requests?
To be more clear: currenly every global variable from
unmanaged heap that gets changed from within any umnamaged
method gets reinitialized on the next request. I'm
particularly interested in keeping intact some global
pointers - currently they get NULL on successive
requests thoungh destructors of objects that they pointed
before request are not called i.e. the objects somehow are
lost.
Any advice is appreciated.
Greetings
Marek
we are doing a quite a big project that contains at
the lowest level an unmenaged c++ classes. Above it there
are managed wrappers and at the top there are ASP.NET
pages. Can anyone tell me how to force ASP.NET not
to "clear" or reinitialize unmenaged global or static
variables that are set on unmanaged level between
successive requests?
To be more clear: currenly every global variable from
unmanaged heap that gets changed from within any umnamaged
method gets reinitialized on the next request. I'm
particularly interested in keeping intact some global
pointers - currently they get NULL on successive
requests thoungh destructors of objects that they pointed
before request are not called i.e. the objects somehow are
lost.
Any advice is appreciated.
Greetings
Marek