1

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 ?

Georg Fritzsche
  • 97,545
  • 26
  • 194
  • 236
Buzz LIghtyear
  • 480
  • 5
  • 16

2 Answers2

2

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

Bennet Yee
  • 130
  • 4
2

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.

binji
  • 1,860
  • 9
  • 9