|
|
|
|
MSIL Tutorial |
   |
简 介:
Microsoft Intermediate Language (MSIL) is a language used as the output of a number of compilers (C#, VB, .NET, and so forth). The ILDasm (Intermediate Language Disassembler) program that ships with the .NET Framework SDK (FrameworkSDK\Bin\ildasm.exe) allows the user to see MSIL code in human-readable format. By using this utility, we can open any .NET executable file (exe or dll) and see MSIL code.
Microsoft Intermediate Language (MSIL) 是许多编译器 (C#, VB, .NET, 等等)的输出语言。同 .NET Framework SDK (FrameworkSDK\Bin\ildasm.exe)一起封装的 ILDasm 可以让用户以可读的方式查看MSIL代码。使用这个工具,我们可以打开任何.NET 可执行文件(exe or dll) ,查看MSIL代码。
来源: https://www.codeguru.com/Csharp/.NET/net_general/il/article.php/c4635/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Write Your Own Regular Expression Parser |
   |
简 介:
Have you ever wondered how regular expressions work in detail? If the answer is yes, this article is right for you. I will try to guide you step by step on how to create your own mini regular expression library. The purpose of the article is NOT to give you a highly optimized, tested, and great regular expression library, but to explain the principles behind the pattern matching in text files. If you only want a good library and don't care how it works, you probably want boost the regex library, which you can find here.
考虑过规则表达式工作的细节吗?如果答案是肯定的,这篇文章就很适合你。我将一步步得教你如何创建你的小型规则表达式库,其目的不是给你提供一个高度优化的,经过测试的大型规则表达式库,只是解释文本文件中模式匹配的内幕原则。如果你只需要一个良好的库,不在乎它是如何工作的,你可能需要改进这里提供的库。
来源: https://www.codeguru.com/cpp_mfc/RegEx.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
XML Data Traversal |
   |
简 介:
This JavaScript reads data from a XML file, traverses the data and displays the same in a tree form.
XML Data Traversal这个 JavaScript 可以从XML文件中读取数据,遍历数据,并将它们在一个树状视图中显示。
来源: https://java.ittoolbox.com/code/d.asp?d=2307&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Changing the Default Limit of 25 Threads |
   |
简 介:
Changing the Default Limit of 25 Threads of the ThreadPool Class
修改ThreadPool 类中缺省只有25个线程的限制
来源: https://www.codeguru.com/cs_syntax/ThreadPool.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
GUI-Based RunAsEx |
   |
简 介:
So, many of you must have heard of a tool called "RunAs" that originated from the WinNT4 Resource Kit; and from Win2K. Its functionality was even integrated to the OS itself. It definitely gives the user a fast way to RunAs somebody. For example, when you want to run some software that you can not trust fully, having it running on a separate machine may be a way for the rich, ordering a Virtual Machine Utility such as VMWare also costs you dozens of bucks, and the zero-price way is that you carefully design ACLs on a directory and the Registry and let the un-trusted program run under a limited user context.
大多数人听说过 WinNT4 Resource Kit和 Win2K的"RunAs" 方法。这个功能已经集成到操作系统中。它明确地让用户可以某种身份运行软件。例如,当你想运行不完成信任的一个应用程序时,可以让它在单独的一个机子上运行,但代价不菲;也可以使用 Virtual Machine Utility ,如VMWare ,但也要花费很多美元。零花费的方式是小心地在一个目录中设计ASL和注册表,让不信任的应用程序在有限的用户环境中运行。
来源: https://www.codeguru.com/Cpp/W-P/win32/cursors/article.php/c6745/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
CParser—A Simple File Parser |
   |
简 介:
When there is the need to parse a file and a "real" parser would be oversized for the job, this rather simple parser might be an alternative.
当需要分析一个文件时,用一个真正的分析器将是在材小用了,可以用这个简单的分析器。
来源: https://www.codeguru.com/cpp_mfc/CParser.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Combobox Navigation |
   |
简 介:
This is a very simple script about web page navigation. Add it to your web site and you will get a dropdown combobox for your web site's navigation. For Microsoft Internet Explorer 5.0 or higher/Netscape or Opera 6.0 or higher.
Combobox Navigation这是一个有关页面导航的非常简单的脚本。将它加到你的Web站点中,你就可以得到一个你的站点导航的下拉组合框。支持Microsoft Internet Explorer 5.0 或更高版本/Netscape 或 Opera 6.0 或更高版本。
来源: https://java.ittoolbox.com/code/d.asp?d=2417&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Using Unmanage Code in C# |
   |
简 介:
Another view on how to work with unmanged code an unmanged dlls from C#.  
这个项目演示了如何在C#中处理非管理dll中的非管理代码。
来源: https://www.codeguru.com/cs_syntax/Unmanage.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Using ADO from C++ |
   |
简 介:
Microsoft ActiveX Data Object (ADO) provides an easy way to data access and manipulation that is independent of data stores, tools, and languages. This flexibility and easy-to-code facility makes ADO the perfect choice for developers. ADO is implemented with Component Object Model (COM) interfaces. Unlike VB programmers, C++ programmers must know the details of using COM for using ADO. So, using ADO from C++ is still very complex. But, it is possible to get an easy ADO programming model from C++, which can help to hide the details of using COM. In this article, I demonstrate a C++ class to do this that encapsulates the ADO connection object. You can apply same technique for encapsulating other ADO objects.
Microsoft ActiveX Data Object (ADO) 提供了一种容易的数据访问和处理方法,它独立于数据存储、工具和语言。其灵活性和易用性使ADO成为开发人员的首先选择。ADO的实现采用了 Component Object Model (COM)接口。不像VB程序员,C++程序员在使用ADO时必须知道COM的细节。所以在C++中使用ADO仍旧有些复杂。但是,可以在C++中得到一个用于使用的ADO编程模型,以隐藏使用COM的细节。在这个项目中,我实现了一个C++类来封装ADO的connection 连接对象。你可以使用同样的技术来封装ADO的其它对象。
来源: https://www.codeguru.com/Cpp/data/mfc_database/ado/article.php/c6729/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Implementing CustomDraw into Your Projec |
   |
简 介:
Implementing CustomDraw into Your Project
在你的项目中实现自绘功能。
来源: https://www.codeguru.com/cpp_mfc/ColorCListView.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|
|