I don't know how to explain this well so I'll state the situation.
I want a variable that's changeable within a dll from another program. Meaning say their is a variable called LIVESERVER*string, how can I set (in any way) what populates that variable? The reason is I want a fail safe on the dll that if one server doesn't work, it access the other server, however I won't always know that other server name. I tried using registry changes or simple ascii files but I might have soomething wrong but nothing works.

Basically from a DLL if I could access a resgitry key for a server name to access that could work because a 'monitor' program will set that value depending on what is the better server.

got I hope that makes sense