自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (2)
  • 收藏
  • 关注

原创 C++/CLI中的资源清理(Destructor,Finalizer)

转自酷网动力(www.ASPCOOL.COM)在清闲之余,在此与大家探讨一下,C++/CLI中的资源清理。本文将分成三部分,他们分别是引言、Destructor,Finalizer的语法表示、如何保证Destructor,Finalizer与其他语言兼容。   一、 引言    资源是一个很大的范畴,先让我确定一下我们这里谈论的资源包括哪些内容。这里专指在面向对象编程中一个对象实例所使用的资源

2007-09-21 10:09:00 738

原创 到底能不能基于push模式的xml parser实现pull模式的parser?

我上一篇转载的文章中,那位大牛最后一句话说:While you can emulate the push model using pull-based components, you just cant build a pull model parser using a SAX parser. 但有如下一篇论文,说可以实现An interesting mini project: 

2007-09-14 11:37:00 813

原创 A better way to parse XML documents in .NET (zz)

Takeaway: The .NET Framework supports the XML DOM parsing model, but not the SAX model. .NET guru Leonardo Esposito tells you why this is actaully an improvement for parsing XML in .NET.Although alw

2007-09-14 11:34:00 638

原创 《C++/CLI in Action》

C++/CLI in ActionNishant SivakumarApril, 2007 | 416 pages ISBN: 1-932394-81-8DESCRIPTION“... a great resource, an outstanding job, a must-read...”  —Ayman B. Shoukry, VC++ Team, Microsoft Corporat

2007-09-13 10:01:00 1412

原创 dotnet学习笔记一 - 装箱拆箱 kenli(原作)

 .NET算是集现有开发平台语言之大成了,也提出了不少新概念。装箱(boxing)和拆箱( unboxing)应该是一个了。 .NET的所有类型都是由基类System.Object继承过来的,包括最常用的基础类型:int, by te, short,bool等等,就是说所有的事物都是对象。但这样造成了及底的效率,比如简单 的两个数相加,bool取反都会导致从堆(Heap)中分配内存。怎样解决这个

2007-09-08 11:30:00 636

原创 [.NET]advantages and disadvantages of using c++ interop

The following are the advantages of C++ Interop:• You don’t need to use DllImport statements. You reference the unmanaged functionsusing the standard C/C++ header files.• C++ Interop is slightly faste

2007-09-04 09:26:00 621

原创 [.NET] /clr compiler options

 The /clr compiler option has several variations. Each one applies a different set of restrictions on what you are allowed to code within a project. For interop between managed and unmanaged code, t

2007-09-02 16:41:00 740

原创 [.NET]C++/CLI and C# Interoperability

这是一个实现了native c++ code和mananged c++ code以及c# code相互调用的例子。首先用visual studio 2005创建一个clr支持的project,选择目生成为dll,创建两个类,一个是native的,一个是托管的。 //UnManaged.hnamespace USharedLib...{    class  CUnmanaged   

2007-09-02 16:13:00 797

VMWare Network 配置指南

讲解NAT模式和Bridge模式拓扑结构原理,怎么配置。

2009-04-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除