简体   繁体   English

文件扩展名

[英]File extensions

I am trying to open a file with file extension '.lib' (open file library) and (.dll) but i dont know what program application to open it with. 我正在尝试打开文件扩展名为'.lib'(打开文件库)和(.dll)的文件,但我不知道用哪个程序应用程序打开它。 any advice? 有什么建议吗?

Thanks 谢谢

A .lib file is not meant to be opened interactively, neither is a .dll .lib文件并不旨在以交互方式打开,.dll也不是

They are both "library" files which means that they are to be imported into an application that you are coding yourself and utilised there. 它们都是“库”文件,这意味着它们将被导入到您自己编写并在其中使用的应用程序中。

The method for doing that depends entirely on what language/toolset you are using to develop. 这样做的方法完全取决于您要使用的语言/工具集。

LIB files could be used by the linker to link it to get EXE or DLL. 链接器可以使用LIB文件将其链接为EXE或DLL。 DLL files are used by EXE files to invoke additional functions from them. EXE文件使用DLL文件从其中调用附加功能。

Additionally you can use Dependency Walker to view which functions are exported from the DLL. 此外,您可以使用Dependency Walker来查看从DLL导出的功能。

That depends on what you want to do with it. 这取决于您要如何处理。 Microsoft provides a tool called depends.exe (Google it) that opens DLLs and shows you a bunch of interesting stuff about them. 微软提供了一个名为Depends.exe的工具(谷歌它),该工具可以打开DLL并向您展示很多有趣的东西。 Visual Studio comes with a command-line utility called dumpbin that lets you poke around inside .lib and .dll files. Visual Studio带有一个称为dumpbin的命令行实用程序,可让您在.lib和.dll文件中四处浏览。 There are tons of other tools, depending on what you are trying to do. 还有很多其他工具,具体取决于您要执行的操作。

Those are usually compiled binary files. 这些通常是编译的二进制文件。 Not typically human readable, however if you really want a look inside the files, you are going to need a HEX editor. 通常不是人类可读的,但是如果您真的想查看文件内部,则将需要HEX编辑器。 There are several free ones out there, just search google. 有几个免费的在那里,只是搜索谷歌。

RedGate Reflector(以前称为Lutz Reflector)将使您能够查看dll并进行反编译和查看源代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM