I was caught by surprise. I am not sure if this is working as
designed, but here is what I am seeing.
I am not using multi-threads.
I make a call to a DLL, the DLL call uses globals.
(Its own globals)
When I make a second call to the DLL the globals still have the
values that were put their from the first call. Nothing was
cleared.
Is this normal and by design? For some reason I was thinking
that the globals in a DLL are all reset at the beginning
of each call, so I was surpised.
Tim
------------------
designed, but here is what I am seeing.
I am not using multi-threads.
I make a call to a DLL, the DLL call uses globals.
(Its own globals)
When I make a second call to the DLL the globals still have the
values that were put their from the first call. Nothing was
cleared.
Is this normal and by design? For some reason I was thinking
that the globals in a DLL are all reset at the beginning
of each call, so I was surpised.
Tim
------------------
Comment