Does this mean that from my C++ code, I can call a MSDN method
(provided i include the required libraries to compile) say,
SHGetFolderLocation to open a window in my web page, to select a file
or folder from the local file system ? From tutorials and materials
available, it seems that chrome itself does not give such a function,
which i can use to get to my file system in window or linux.
Am confused with this notion of passing only messages between a web
page and extension.
On Feb 17, 9:57 am, Chris Hughes <
christopher.hug...@gmail.com> wrote:
> You would put the nacl in the extension background page and use the
> messaging API to interact with the pages. One option is using content
> scripts and passing messages to the background page that brokers
> messages to the nacl bits.
>
> Note that with nacl there are some limitations with respect to things
> like raw sockets. You can use the npapi API to get around that but be
> forwarned if you want to put it in the chrome web store, expect to
> also share source and they will need to perform an exhaustive review.
>
> Happy hacking!
> -c
>
> Sent from my iPhone
>
> On Feb 16, 2012, at 12:47 PM, anjana paulose <
anjanapaul...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I have an existing extension for IE and FF, used to upload a directory/
> > multiple files from Windows or Linux.
> > This is achieved using C++ (ActiveX/XPCOM ).
> > My extension also has capability to extract icons from dll or exe in
> > windows.
>
> > 1.Can i use NaCl in chrome to achieve the same?Using javascript in my
> > code, can i invoke C++ method to do the things.
> > 2.Is it always necessary to have html file as part of extension to
> > hold the<embed > tag for nacl-module, or can i add it in my own page?
>
> > Please help
> > anjana
>
> > --
> > You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
> > To post to this group, send email to
chromium-extensi...@chromium.org.
> > To unsubscribe from this group, send email to
chromium-extensions+unsubscr...@chromium.org.