[英]Can we use same function in 2 different library file , if both the library consumed in same DLL file
A function may be used in two or more different source files, as long as the object files that result from compiling them are linked with an object file that defines the function, whether in a DLL or otherwise. function 可以用于两个或多个不同的源文件,只要编译它们产生的 object 文件与定义 function 的 object 文件链接,无论是在 DLL 中还是其他地方。
A function can be defined in one source file and used in another source file that are both compiled into object files and linked into the same DLL.一个 function 可以在一个源文件中定义并在另一个源文件中使用,这两个源文件都编译成 object 文件并链接到相同的 DLL。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.