0
要做到这一点,我的代码:我们如何加载嵌入铬中的Chrome浏览器的pdf.dll插件来查看pdf文件?
cef_string_t sExtraPath;
memset(&sExtraPath, 0, sizeof(cef_string_t));
settings.extra_plugin_paths = cef_string_list_alloc();
CefString(&sExtraPath).FromString("pdf.dll");
cef_string_list_append(settings.extra_plugin_paths, &sExtraPath);
CefInitialize(settings, app);
但打开PDF文件时显示类似“缺少插件”的消息。