hi,
i have a dll written in C language
and have some global variables.
If i connect the dll from an exe, and applying some operations like addition, multiplication on the global variable and completd the operation
then again in the same exe, may be somewhere i am again calling the dll and using addition...
but in the second time i couldnt get the initial value for the global variables. the value will be the last performed operations result value.
so how can i initialize the variable whenever i call the dlll functions?
and if use dll, we need their .lib files also?
why we need this .lib file?
please clarify my doubts..