DarkWyrm <bpmagic@xxxxxxxxxxxxxxx> wrote: > Anyway, the way the server is going to issue tokens is via the > server's > TokenHandler class. It's nowhere near as complicated as I suspect > BTokenSpace > is. You can allocate certain values to be excluded from being tokens > such > that if a function creates a token or returns an error, you can be > sure that > no token returned will be the same as the error code. Anyway, the > server Sorry that I am too lazy to look at your implementation, but that * sounds* expensive, or are you just doing a simple: return atomic=5Fadd(&gUniqueToken, 1); =3F :-) (perhaps with a bound check which could throw out an error or a warning) Adios... Axel.