2008年3月30日

摘要: Q: What is strong-typing versus weak-typing Which is preferred, Why 要注意是强类型和弱类型,很多人容易将此与静态语言和动态语言的混淆。静态语言在编译时检查变量类型,动态语言在运行时检查变量类型。但这不是强类型和弱类型的区别。 弱类型语言允许将一块内存看做多种类型。比如直接将整型变量与字符变量相加。C and C++ 是静态语言... 阅读全文
posted @ 2008-03-30 23:40 Eric Lee 阅读(500) 评论(0) 推荐(1) 编辑
摘要: 现在的Windows中,exe 和 dll 都是基于PE格式,exe 是通常的可执行文件,包含数据和代码,而 dll 是动态链接文件,也有可能是纯资源文件,只包含数据,不含程序代码。dll 的目的之一就是提供能被许多不同的应用程序所使用的函数和资源。dll 中的函数和资源为软件开发提供了复用。它们是在运行时由磁盘物理映像载入被调用者的内存空间或共享内存空间执行。 阅读全文
posted @ 2008-03-30 22:57 Eric Lee 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Q: What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design? 就32位操作系统来说,... 阅读全文
posted @ 2008-03-30 22:31 Eric Lee 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Q: What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design? 就32位操作系统来说,... 阅读全文
posted @ 2008-03-30 21:11 Eric Lee 阅读(269) 评论(0) 推荐(0) 编辑
摘要: Windows Service 是一种可随 Windows 操作系统启动而启动的,在后台运行的,通常不和用户产生交互的程序。它无法通过双击来运行,类似于 Unix 守护进程(daemon processes),当用户注销时它也不会停止。 Windows 服务由三部分组成:1.一个服务可执行文件;2.一个服务控制程序(SCP);3.服务控制管理器(SCM),负责在 HKLM\SYSTEM\Curre... 阅读全文
posted @ 2008-03-30 20:43 Eric Lee 阅读(250) 评论(0) 推荐(0) 编辑

导航