|
|
Visual Studio.NET Add-In for Incrementin |
|
简 介:
Visual Studio.NET Add-In for Incrementing Project Build Numbers
这是一个用户增加项目生成版本号的Visual Studio.NET 插件。
来源: http://www.codeguru.com/net_vs_addins/AutoBuildNumber.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
IPC Using Connection Points and EventSin |
|
简 介:
As a programmer I often find a need for an IPC(Inter-Process Communication) Mechanism for interacting between serveral processes. I like using COM and OLE since interfaces are simplified, and interaction between components becomes easy. Most IPC techniques requires marshalling, prameters descriptors, and enormous overhead on the design and testing processes. the ATL environment supply a suitable framework for COM Events dispatching with default marshling.
作为编程人员,我经常发现需要一个IPC(Inter-Process Communication)机制来在几个服务器进程间交互。喜欢使用 COM 和 OLE ,因为接口已经被简化了,组件间的交互也很简单。大多数IPC技术需要信号编辑,参数,描述符,以及设计和测试时的巨大开销。ATL环境为COM事件发送提供了一套合适的框架。
来源: http://www.codeguru.com/atl/ATLIPC.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Modifying Property Sheet Templates on Wi |
|
简 介:
This code is written to fix the bug in CPropertySheet::DoModal() or CPropertySheet::Create() as described in MSKB article ID: Q158552
这段代码用于修复CPropertySheet::DoModal() 或 CPropertySheet::Create()中的错误(在MSKB 描述,ID: Q158552)
来源: http://www.codeguru.com/propertysheet/safeproppage.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Folder/Drive Picker Combo Box |
|
简 介:
Folder/Drive Picker Combo Box
目录/驱动器选择组合列表框
来源: http://www.codeguru.com/combobox//CFPick.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Process Spectator: View All Running Proc |
|
简 介:
One day, I was working in VB.NET to see what's new in it. One control, named 'Process,' interested me. So, I dove deeper into it and wrote out code that lists all processes (names only) running.
一天,我使用 VB.NET 看看有什么新功能。一个控件,名叫 'Process'吸引了我。所以我研究了它,编写了一个代码,可以使出所以正在运行的进程(只有名字)。
来源: http://www.codeguru.com/cpp_managed/ProcSpct.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
ATL: Firing Events from Worker Threads |
|
简 介:
In most cases of my work I develop ATL objects with worker threads. In the worker threads there must be often fire events for signalling thread states. The problem of firing events from worker thread is that they must enter another apartment. In this apartment the sink interfaces are not valid and thats why some clients would not be receive the events (eg VB). I found a simple solution for that. (A solution without PostMessage.)
在大多数情况下我使用工作线程来开发ATL对象。在工作线程中必须经常激发事件以发送线程状态的信号。从工作线程中发送事件的问题是它们必须进入另一个空间。这是个空间中sink 接口不是有效的,所以一些客户端不能接收到事件(如VB)。为此,我找到了一个简单的解决方法(一个不使用PostMessage的方法)。
来源: http://www.codeguru.com/atl/ThreadEvents.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Using a modeless property sheet |
|
简 介:
Using a Property Sheet as a 'view' inside a child frame window turns out to be quite simple.
Derive your own class from CPropertySheet.
Override virtual OnInitDialog as follows.
在一个子框架窗口中使用一个属性页“视图”是很简单的。
从CPropertySheet派生你自己的类,重载虚函数OnInitDialog
来源: http://www.codeguru.com/propertysheet/propview.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
SnapShot ComboBox |
|
简 介:
It's a very easy to understand how this control works. The idea is to load only items that I need. When, nothing is happen in the system, one of the alive QComboBox controls, will take this time as useful, and it will load a number of lines for each alive controls, and so on. If you want to find more details, you can feel free ask me, or to study the given implementation of CQComboBox class.
很容易理解这个控件如果工作。想法是只加载我需要的条目。当系统中什么也没有发生时,几个活动的 QComboBox 控件之一将会利用这一时机,它会为每个活动控件加载许多行,等等。如果你想要更多的细节,你可以问我,或学习给出的 CQComboBox演示例子
来源: http://www.codeguru.com/combobox//snapshot_combo.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Building JScript .NET Web Service and Cl |
|
简 介:
Walk through the creation of a Web Service and three types of client applications that use it: a Windows Forms based client, and Internet Explorer-based client, and an ASP.NET client application.
通过创建一个Web服务和三类不同的使用它的客户端应用程序:一个基于Windows窗体的客户端,一个基于Internet Explorer的客户端,和一个 ASP.NET 客户端应用程序。
来源: http://www.codeguru.com/jscript/jsnet07cg.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
ATL Date Routines |
|
简 介:
This article focuses on the issues surrounding the use of dates within an ATL component. I developed the DateLib component as part of a project for my company and, as such, the methods of this component are specific to my company’s requirements (I do not have an intellectual property agreement with this company). However, the DateLib component does illustrate how to build an ATL component that has no MFC dependencies, is thread-safe, and will compile as either ANSI or UNICODE.
这个项目主要集中于在一个ATL组件中使用数据。我开发了 DateLib 组件作为公司项目的一部分,所以这个组件的方法特定于我的公司的需求(我同这个公司没有知识产权协议)。但这个 DateLib 组件确实演示了如何建造一个不依赖MFC的ATL组件,基于安全线程的,可以编译为 ANSI或 UNICODE。
来源: http://www.codeguru.com/atl/DateLib.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|