2006年1月9日

摘要: Windows NT 3.1引入了一种名为PE文件格式的新可执行文件格式。PE文件格式的规范包含在了MSDN的CD中(Specs and Strategy, Specifications, Windows NT File Format Specifications),但是它非常之晦涩。 然而这一的文档并未提供足够的信息,所以开发者们无法很好地弄懂PE格式。本文旨在解决这一问题,它会对整个的P... 阅读全文
posted @ 2006-01-09 17:34 吴文力 阅读(7701) 评论(1) 推荐(0)
 
摘要: 下面的代码说明了怎样在一个给定的目录中从上到下地搜索整个目录树.本例子只将结果输出到system debug screen.调用下面的类函数,搜索完成之后,将出现一个信息框.void CTestView::OnSearch() {// szFilename is declared in the header as array of char// look for MyFile.txt (or wh... 阅读全文
posted @ 2006-01-09 17:21 吴文力 阅读(2377) 评论(0) 推荐(0)