Ok, the CVS version now uses GetModuleFileName() to calculate the base directory, and falls back to SearchPath() if anything goes wrong. I think that should satisfy every situation. --ryan.