Search code examples
c++visual-studio-2010cachingchromiumchromium-embedded

chromiumembedded custom cache directory not working


I am developing a standalone application of my web application using chromiumembedded. I want to store my cache in hard drive so that next time user load it should be faster. I have added following lines to cefsimple_win.cpp after the line CefSettings settings;

const char* path = "D:\C++HTML5\test";


CefString(&settings.cache_path).FromASCII(path);

But no files are stored in the specified path. Please let me know what is wrong with this approach

Thank You!


Solution

  • Try:

    const char* path = "D:\\C++HTML5\\test";