General DLL question

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I have created a dll based off some preexisting functions. When I used to
call one function it would set some variables that would be used by
subsequent functions. However, ever since I created the DLL it seems to set
the variables at first, but then it resets the values when I call a
subsequent function. Do dll's reset values after they have been called or
is this a feature of dot net? Does anyone know how to keep this from
happening?
 
I have created a dll based off some preexisting functions. When I
used to call one function it would set some variables that would be
used by subsequent functions. However, ever since I created the DLL
it seems to set the variables at first, but then it resets the values
when I call a subsequent function. Do dll's reset values after they
have been called or is this a feature of dot net? Does anyone know
how to keep this from happening?

http://msdn.microsoft.com/library/en-us/vbcn7/html/vbconLifetime.asp
 
Thanks Armin. That article helped me realize what I was doing wrong. I
appreciate the help.
 
Back
Top