On November 26, 2002 01:19 pm, Robert North wrote:
So, What do people want to do to protect their namespaces ??
This is not a big problem for Wine. In Wine, namespaces are per DLL, and those are defined by MS anyway.
Inside a DLL, keep related things in a file, and mark all that you can static. If you do that, 99% of non-static functions map 1-to-1 to an exported DLL function, so you are OK.
Anyway you do it, I seems to me you have to try real hard to mess up the namespace in a single DLL. :)