我可以获取kernel32.dll的静态库类型吗? [英] Can I Get the static library type of kernel32.dll ??

查看:200
本文介绍了我可以获取kernel32.dll的静态库类型吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我想在虚拟地址中处理我的代码的地址。

Hi. I want to Handle address of my codes in Virtual Address.

由于MSDN应用的dll文件存在问题。

there is a problem because of dll files that are applied by MSDN.

我发现除了kernel32.dll之外,每个dll文件都可以在运行时加载。

I find every dll file can be loaded in run time except kernel32.dll.

然后,我无法处理kernel32.dll的位置,因为它必须在加载时加载。

then, I can't handle the position of kernel32.dll because it have to load in loading time.

我有一些问题。

是否有任何方法可以处理加载时加载的dll的位置。

Is there any method to handle the position about dll that loads at loading time.

我可以获取kernel32的静态库吗?

Can I Get the kernel32's static library??

MSDN是否支持具有MSDN合法许可的商业公司的此库。

Does MSDN supports this library for commercial  company that has legal license of MSDN.




김순동

推荐答案

您好
sundong0724.kim,

感谢您在此发布。

>>是否有任何方法可以处理positio关于在加载时加载的dll。


LoadLibrary
方法可以加载指定的 模块进入调用进程的地址空间。

The LoadLibrary method could load the specified  module into the address space of the calling process.

>> 我可以获取kernel32的静态库吗?

MSDN是否支持具有MSDN合法许可的商业公司的此库。

我担心你不能。但是,当调用入口点函数时,可以保证Kernel32.dll在进程地址空间中加载。所以你不需要这样做。在Kernel32.dll中调用函数不会导致DLL在其初始化代码执行之前被使用

I'm afraid you couldn't. However the Kernel32.dll is guaranteed to be loaded in the process address space when the entry-point function is called. So you don't need to do this. Calling functions in Kernel32.dll does not result in the DLL being used before its initialization code has been executed.

最好的问候,

Sera Yu

Best Regards,
Sera Yu


这篇关于我可以获取kernel32.dll的静态库类型吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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