I have a dll project in visual c++
and I want to have a variable which will change by different exe files which use this dll.
for example if i have
"int i=0; //global var of the dll file
.....
int func
{
if (....)
i++;
}
"
I would like i to be 1 for the next time func is called by a differet exe file.
thanks,
Aviv.
and I want to have a variable which will change by different exe files which use this dll.
for example if i have
"int i=0; //global var of the dll file
.....
int func
{
if (....)
i++;
}
"
I would like i to be 1 for the next time func is called by a differet exe file.
thanks,
Aviv.