关于动态链接库静态连接库说法正确的是哪个?
是一个笔试题求解: 关于动态链接库静态连接库说法正确的是哪个?
In user mode application development, sometimes we choose to use dynamic linked library instead of static linked library. That is because:
A. The dynamic link library can be upgraded without requiring applications to be re-linked or re-compiled.
B. Runtime loading dynamic library will be faster than static library.
C. Calling functions in dynamic library will be faster than static library.
D. Dynamic library enable lots of memory sharing when mutiple apps are using the same libraries at the same time. This is also true for saving disk space.
E. Dynamic link library can be explicitly loaded/unloaded at runtime, this helps application provide optional features.
[解决办法]
A对
B错,静态库快
C错,静态库快
D错,有助于内存共享,节省内存空间是对的,但不能节省磁盘空间
E对
[解决办法]
D从某些方面也是对的,每个EXE文件都小了,也是减少了硬盘空间使用啊。
[解决办法]