Thanks for the quick response. I am not using the demo code, and
don't have any initialization section in my program at all. I am
using Delphi 7 and I just dropped the TChromium component on the form
and tried to navigate to a local PDF file using:
Chromium1.Load(pdffilenamestring);
Chrome would load to a blank screen, but normal web pages load in
fine. Others have had the same issue. I'll look at this code this
evening and see what it does.
On Sep 8, 1:39 am, Henri Gourvest <
hgourv...@gmail.com> wrote:
> It is probably a problem with the "file" scheme handler provided in samples.
> you should comment these lines in the initialization section:
> // CefRegisterCustomScheme('file', True, False, False);
> // CefRegisterSchemeHandlerFactory('file', '', True, TFileScheme);
> so it will use the default one provided by chromium itself.
>
> if you prefer to use the file scheme handler provided in demos, get the
> source from SVN, I have just added the PDF mime type.
>
> 2011/9/8 Al <
asand...@gmail.com>