正确答案: B C 你的答案: C (错误) EXE和DLL文件都是PE文件 EXE不能有导出函数,DLL可以有导出函数 EXE有x86和x64之分,则DLL没有 EXE可以单独运行,DLL则不行 PE文件的全称是Portable Executable,意为可移植的可执行的文件,常见的EXE.DLL.OCX.SYS.COM都是PE文件,PE文件是微软Windows操作系统上的程序文件(可能是间接被执行,如DLL) dll是动态链接库,不可直接运行,dll提供库函数给其他程序调用.exe可执行
ConfigurationManager读取dll的配置文件 最近一个项目,需要发布dll给第三方使用,其中需要一些配置参数. 我们知道.NET的exe工程是自带的App.config文件的,编译之后会生成XX.exe.config文件, 使用静态类ConfigurationManager即可读取. string ip = ConfigurationManager.AppSettings["ServerIP"]; int port = Convert.ToInt32(Configura
Matt Pietrek Download the code for this article: Hood0101.exe (45KB) W ay back in my October 1996 column in MSJ, I addressed a question concerning the size of executable files. Back then, a simple Hello World program compiled to a 32KB executable. Tw