- Use GetModuleFileName instead of GetCurrentDirectory as discussed in issue #24.