thanks, kohji,
but actually i want to do exactly the opposite of that ...
like i said, i'm trying to do everything in c++ with no c-script, cause i don't want to mix object oriented programming with c-script.
so, the problem is not updating the var inside the dll, is defining it inside the dll.
i think there's actually no way to do it, but i know that in the near future i'll be able to use the engine as a dll, and in that case i'd use no c-script at all. so there must be a way to make digits and windows without c-script, if not implemented yet, at least planned for the future...


but thanks anyway.