当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 以下内容转自:http://www.drbob42.com/e
 

 

 ·singleton之我见    »显示摘要«
    摘要: 先和大家说说什么是singleton模式的,它中文意应该为单一模式,但好别扭,也不知道是谁翻译的 29796428(qiubole) 12:26:46它属于创建模式的一种 29796428(qiubole) 12:27:00主要的作用就是确实一个类有且只有唯一的一个实例 29796428(qiubole) 12:27:10这在实际当中,其实还是有一些用处的 29796428(qiubole) 1......
 ·设计模式之singleton    »显示摘要«
    摘要: program singletontest; uses forms, mainfrm in mainfrm.pas {form1}, singletonfrm in singletonfrm.pas {form2}; {$r *.res} begin application.initialize; application.createform(tform1, form1); applica......


Delphi2005学习笔记4(续)——再谈Dll以及Package
以下内容转自:http://www.drbob42.com/examines/examin55.htm

delphi 8 for .net assemblies; packages and libraries 【程序编程相关:最近刚为公司完成的一款监视的小工具软件!

【推荐阅读:关于MIDAS的安全问题的解决方案

in this article, bob swart will explain what .net assemblies are, how we can use them in delphi 8 for .net applications, and especially how we can make them ourselves (it actually turns out that there is more than one way, and even some special way to use some of them in win32 applications).

dlls and .net assemblies 【扩展信息:2004.11.30.Managing

the world of windows application development introduced the dll - dynamic link library. a dll can contain a number of functions that can be called from an application that loads the dll (statically or dynamically). the windows api consists mainly of dlls. these dlls were written in c or c++, and came with a header file that described the interface of the dll. for pascal and delphi developers, it was not easy to use the dll if you didnt have a dll import unit. and back in 1989 i released headconv - my first c dll header converter, which is now available as free tool under management of the delphi-jedi darth project. the delphi jedi project itself was founded to produce delphi import units for c dll header files - a tedious job, but well appreciated by all delphi developers who ever needed to use a c dll header file.

why am i telling you this? because the world has changed. the .net framework is taking over the windows world, and the dll is being replaced by a new kind of library, called the .net assembly.

.net assemblies are more powerful than dlls in a number of ways. first of all, where a dll can only export functions (and not classes), the .net assembly can define classes that can be used and extended by other .net assemblies or applications. another significant benefit is the fact that the .net framework is language neutral. as a consequence, a .net assembly written in language x can be used by any language, including delphi 8 for .net. no more c dll header conversions ever!

add references


...   下一页
 ·delphi8里在vcl.net使用ado.net    »显示摘要«
    摘要: 在delphi.net中,vcl.net有两点蛮遗憾的:1.不能使用ado(dbgo),不过据李维说本月的delphi8.1将会有这个组件。2.不能使用ado.net和bdp,这将是我这片文章的主题。 在borland的delphi交流区内,曾经看到danny说过,"在delphi.net中vcl.net可以调用winform组件,同样winform也可以调用vcl.net组件"。 为了验证第一......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE