Regards Matt Pietrek

Regards Matt Pietrek

Actually I really don't want to talk about anything about Matt Pietrek since he is too famours.

Here I listed some of the very very famour and very very important articles that he has written.

Some undocumend secreats like SEH, PE File Structure is listed here, including a very famours

book which is Win95 System Programming Secrets.

 

2007.04.18

Written By Jim

 

 

Win95 System Programming Secreats

http://cs.mipt.ru/docs/comp/eng/os/win32/win95_sys_progr_secr/main.pdf

 

http://www.microsoft.com/msj/0197/Exception/Exception.aspx

A Crash Course on the Depths of Win32™ Structured Exception Handling

http://msdn.microsoft.com/msdnmag/issues/02/02/PE/

http://msdn.microsoft.com/msdnmag/issues/02/03/PE2/default.aspx

http://www.phreedom.org/solar/code/tinype/ (Related Document)

An In-Depth Look into the Win32 Portable Executable File Format Part1 and Part2

http://msdn2.microsoft.com/en-US/library/ms809762.aspx

Peering Inside the PE: A Tour of the Win32 Portable Executable File Format

http://msdn.microsoft.com/msdnmag/issues/02/03/hood/

Improved Error Reporting with DBGHELP 5.1 APIs

http://msdn.microsoft.com/msdnmag/issues/02/06/debug/default.aspx

http://msdn.microsoft.com/msdnmag/issues/02/08/EscapefromDLLHell/

Escape from DLL Hell with Custom Debugging and Instrumentation Tools and Utilities

http://msdn.microsoft.com/msdnmag/issues/01/03/leaks/

Resource Leaks: Detecting, Locating, and Repairing Your Leaky GDI Code

http://msdn.microsoft.com/msdnmag/issues/03/12/CriticalSections/default.aspx

Break Free of Code Deadlocks in Critical Sections Under Windows

http://msdn.microsoft.com/msdnmag/issues/01/09/hood/default.aspx

New Vectored Exception Handling in Windows XP

http://msdn.microsoft.com/msdnmag/issues/02/05/Hood/

Link-time Code Generation

http://www.microsoft.com/msj/archive/s402.aspx

http://www.microsoft.com/msj/1298/hood/hood1298.aspx

http://www.microsoft.com/msj/0297/hood/hood0297.aspx

http://www.microsoft.com/msj/1197/hood1197.aspx

http://www.microsoft.com/msj/0998/hood0998.aspx

http://www.microsoft.com/msj/0898/hood0898.aspx

http://www.microsoft.com/msj/0698/hood0698.aspx

Under the Hood

http://msdn.microsoft.com/msdnmag/issues/1000/metadata/

Avoiding DLL Hell: Introducing Application Metadata in the Microsoft .NET Framework
What Goes On Inside Windows 2000: Solving the Mysteries of the Loader

http://msdn.microsoft.com/msdnmag/issues/02/03/Loader/

Detect and Plug GDI Leaks in Your Code with Two Powerful Tools for Windows XP

http://msdn.microsoft.com/msdnmag/issues/03/01/GDILeaks/

http://msdn2.microsoft.com/en-us/library/ms810432.aspx

Rebasing Win32 DLLs: The Whole StoryNot By Matt

 

The End Of DLL Hell

http://msdn2.microsoft.com/en-us/library/ms811694.aspx(Not By Matt)

 

4月17日
Very very good resource list(Microsoft Windows Kernel Source Code)

http://p2p.uying.com/html/20070412/12183297289.stm

http://www.microsoft.com/china/technet/webcasts/class/windowsserver1.mspx

The Microsoft Windows Inernal Training including YKZHANG.

 

http://www.microsoft.com/resources/sharedsource/Licensing/CurriculumResourceKit.mspx

http://bbs.driverdevelop.com/htm_data/87/0702/99380.html

Microsoft Windows Kernel Source Code

 

http://www.microsoft.com/msj/0197/exception/exception.aspx

A Crash Course on the Depths of Win32™ Structured Exception Handling

The microsoft fellow introduce the SEH secreats to you.

 

http://www.spywareguide.com/index.php

 The website which collects all spy software.

4月16日
值得纪念的一天——收到John Robbins回复

 先保留这,今天没空写,总之哈哈收到John的Email了。偷笑中。。。。。

4月10日
Backup Documents For Resource DLL

 

在使用vc写简繁体通用程序时,对实现菜单、界面、Tooltips等的文字时无法实现通用。如果写简体和繁体各一套程序,那肯定不现实。查找所有资料和文章都只能实现菜单的多语言,且使用起来也不方便;并且无法实现界面、Tooltips等的多语言。因而,采用纯资源的DLL文件来实现多语言。

      纯资源DLL文件实现步骤如下:

      (1)创建简繁体MDI或SDI程序后,把VC框架自动创建的.rc,.rc2,.ico,.bmp等文件从程序框架中删除;

      (2)使用Projects的Win32 Dynamic-Link Library分别创建简繁体纯资源dll文件,把由MDI或SDI程序创建的.rc,.rc2,.ico,.bmp等文件加入到该工程文件中;

     (3)在Project菜单项选择Settings然后选择Project Settings的Link标签;然后在Project Options框内输入/NOENTRY。编译后就产生纯资源DLL文件;

     纯资源DLL文件加入没有任何资源的MDI或SDI程序,其步骤如下:

     (1)在主应用程序类的.h文件中定义protected 的 HINSTANCE 类型变量(如:mhInstMenu);    

  (2)在主应用程序类的.cpp文件::InitInstance()函数过程中添加下面代码:

    mhInstMenu = ::LoadLibrary("Menu.dll");  // Menu.dll为多语言纯资源的dll文件

    if (mhInstMenu == NULL) 

    { 

        return FALSE; // failed to load the localized resources 

    } 

    else { 

        AfxSetResourceHandle(m_hInstMenu); // get resources from the DLL 

    }
     (3)在主应用程序类的.cpp文件::ExitInstance()函数过程中添加下面代码:

FreeLibrary(mhInstMenu);

注意:Menu.dll文件可以有三种放置方法:

    A、和.exe文件在同一个路径下面;

    B、放在Windows98的System或Windows2000的System32路径下面;

    C、放在通过Path设置的路径下面。

 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值