如何使用已安装程序的库 [英] How do I use libraries of an installed program

查看:80
本文介绍了如何使用已安装程序的库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用已安装程序的库,比如如果在系统中安装了谷歌浏览器,那么我想访问它的内核,如webkit等?



它有可能吗?请有人帮帮我。

I want to use libraries of an installed program, like if google chrome is installed in the system then I want to access it's kernels like webkit etc?

It is possible? Please somebody help me with this.

推荐答案

有可能吗?



可能是。使用.net程序集(DLL或EXE),您只需添加一个引用,使用托管代码,您可能需要使用P / Invoke。



在任何一种情况下,我希望你只能访问公共项目。



试试吧。
"It is possible?"

It may be. With a .net assembly (DLL or EXE) you need only add a reference, with managed code you will likely need to use P/Invoke.

In either case, I expect you will get access to only the public items.

Try it.


这篇关于如何使用已安装程序的库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆