2012-03-12 2 views
0

Pour ce faire, le code I:Comment pouvons-nous charger pdf.dll plugin de google chrome en chrome intégré pour afficher les fichiers 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); 

Mais lors de l'ouverture d'un fichier pdf message comme "manquant plugin" affiché.

Répondre

Questions connexes