开发者

Regarding Windows Application Development And NPAPI plugin

I am planning to make an application that monitors the websites visited by the users and performs some calculations on that.

So for every website that is opened,I developed a google chrome extension that will send the URL to a NPAPI plugin.

The problem is with the second part.Is it possible for a NPAPI plugin to pass the information it received from the extension to another application.I want a 2 way communication between my application and the NPAPI plugin so that depending on the processing performed by the application,the NPAPI plugin informs the extension to change the URLS it should send.

PS-I am using firebreath to develop the NPAPI plugin if that makes it easier to answer my question.

I would really like some开发者_如何学编程 ideas as to how this can be implemented.I am new to programming.

Any help is greatly appreciated.


NPAPI plugins have unrestricted access to the local machine, so your plugin is running its code like any other application. So what you're looking for is actually a way for two processes to communicate, AKA Inter-Process Communication. There are quite a few ways of doing that, you can find some here. The most appropriate one depends on your actual need, but when searching, don't let the NPAPI context bother you. You're just trying to get two processes to talk.


Shared memory is quite simple to use. Since you're new to programming ,I think this is the way to go. You can find an example here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜