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文件時顯示類似「缺少插件」的消息。