Question

First of all am new to PPAPI plugin development. Earlier i have been using NPAPI plugin to perform certain functionality which in turn uses windows APIs.Now since NPAPI is obsolete, i am trying PPAPI. My question is can i link windows APIs to PPAPI? Is it possible ?

Was it helpful?

Solution

As Bennet mentioned, it is not possible to make calls to the Windows API. If this is necessary for your application, try making a Chrome Extension and using Native Messaging instead.

From the link:

Extensions can exchange messages with native applications. Native applications that support this feature must register a native messaging host that knows how to communicate with the extension. Chrome starts the host in a separate process and communicates with it using standard input and standard output streams.

OTHER TIPS

It is not possible to call Windows functions. If it were, then it would be trivial to escape the NaCl security sandbox.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top