的dlopen [英] dlopen

查看:59
本文介绍了的dlopen的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在代码中看过dlopen()函数我已经读过了,

是C或C ++函数吗?它是一个标准函数吗?


如果它是一个热门话题,使用它而不是让链接器完成工作的优势是什么?b $ b

解决方案

edware写道:

我在代码中看到了dlopen()函数
是C或C ++的功能吗?它是标准功能吗?


No.

如果这是一个热门话题,使用它而不是让链接器完成工作的优势是什么?




查找共享对象或动态链接的库或动态链接的库。在网上。

使用它们与静态链接的优点应该在这些页面上解释




V

-

请在邮寄回复时从我的地址中删除资金


edware说:
< blockquote class =post_quotes>我在代码中看过dlopen()函数我读过,
是C或C ++函数吗?它是标准功能吗?


不,它是典型的基于Unix的编译器提供的扩展。

如果是一个热门话题,那么优势是什么?使用它而不是让链接器完成工作?




让链接器完成工作的好处是代码不是
$通过引入非标准的

功能,b $ b的便携性降低了。


-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)


edware写道:

我在代码中看到了dlopen()函数我已经读过了,
是C或C ++函数吗?它是一个标准函数吗?

如果它是一个热门话题,使用它而不是让链接器完成工作的优势是什么?




尝试发布到以下新闻组之一:

comp.os.linux.development.system


comp .os.linux.development.apps


问候,

拉里


I''ve seen the dlopen() function in code I''ve read,
is that a C or C++ function? Is it a standard function?

In case it is a topical question, what is the advantage
of using it instead of let the linker do the job?

解决方案

edware wrote:

I''ve seen the dlopen() function in code I''ve read,
is that a C or C++ function? Is it a standard function?
No.
In case it is a topical question, what is the advantage
of using it instead of let the linker do the job?



Look up "shared objects" or "dynamically linked libraries" on the Web.
The advantage of using them versus static linking should be explained
on those pages.

V
--
Please remove capital As from my address when replying by mail


edware said:

I''ve seen the dlopen() function in code I''ve read,
is that a C or C++ function? Is it a standard function?
No, it''s an extension offered by typical Unix-based compilers.
In case it is a topical question, what is the advantage
of using it instead of let the linker do the job?



The advantage of letting the linker do the job is that the code is not
rendered less portable by the introduction into it of a non-standard
function.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)


edware wrote:

I''ve seen the dlopen() function in code I''ve read,
is that a C or C++ function? Is it a standard function?

In case it is a topical question, what is the advantage
of using it instead of let the linker do the job?



Try posting to one of these newsgroups:

comp.os.linux.development.system

comp.os.linux.development.apps

Regards,
Larry


这篇关于的dlopen的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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