return fxr_path;
}
- trace::error(_X("A fatal error occurred, the required library %s could not be found at %s"), LIBFXR_NAME, own_dir.c_str());
+ trace::error(_X("A fatal error occurred, the required library %s could not be found at [%s]"), LIBFXR_NAME, own_dir.c_str());
return pal::string_t();
#else
pal::string_t fxr_dir = own_dir;
append_path(&fxr_dir, _X("fxr"));
if (!pal::directory_exists(fxr_dir))
{
- trace::error(_X("A fatal error occurred, the folder %s does not exist"), fxr_dir.c_str());
+ trace::error(_X("A fatal error occurred, the folder [%s] does not exist"), fxr_dir.c_str());
return pal::string_t();
}
}
}
- if (max_ver.get_major() == -1)
+ if (max_ver == fx_ver_t(-1, -1, -1))
{
- trace::error(_X("A fatal error occurred, the folder %s does not contain any version-numbered child folders"), fxr_dir.c_str());
+ trace::error(_X("A fatal error occurred, the folder [%s] does not contain any version-numbered child folders"), fxr_dir.c_str());
return pal::string_t();
}
return ret_path;
}
- trace::error(_X("A fatal error occurred, the required library %s could not be found in %s"), LIBFXR_NAME, fxr_dir.c_str());
+ trace::error(_X("A fatal error occurred, the required library %s could not be found in [%s]"), LIBFXR_NAME, fxr_dir.c_str());
return pal::string_t();
#endif