Delphi的Format函数大家都用得很多,第二个参数用着确实很方便。最近在数据库开发应用中需要自己创建一个带array of const参数的函数,对于常用的类型String,Integer,Pointer处理都没什么问题,但当用到Widestring类型时却出错,摸索了一上午,感觉获益良多。现 Read More
posted @ 2017-01-20 23:13
findumars
Views(1794)
Comments(0)
Diggs(0)
我们能看到以下代码var pSource,pDest:PChar; len: integer;.......................//一些代码Move(pSource,pDest,len); //错误Move(pSource^,pDest^,len); //正确看起来确实好像是传值,而不是 Read More
posted @ 2017-01-20 23:12
findumars
Views(999)
Comments(0)
Diggs(0)
在delphi中,有时候我们希望对象可以接收windows消息,怎么办呢?因为要接收windows消息起码要有windows Handle,难道要建立的一个可见窗口?那样似乎太差强人意了。delphi提供了一个函数Classes.AllocateHWnd。分析AllocateHWND发现delphi Read More
posted @ 2017-01-20 23:01
findumars
Views(991)
Comments(0)
Diggs(0)
转自:http://blog.csdn.NET/shiqz/article/details/5862936 摘 要 随着人们对应用程序的要求越来越高,单进程应用在许多场合已不能满足人们的要求。编写多进程/多线程程序成为现代程序设计的一个重要特点,在多进程程序设计中,进程间的通信是不可避免的。Micr Read More
posted @ 2017-01-20 22:58
findumars
Views(40434)
Comments(0)
Diggs(3)
摘要: 本文介绍了使用Windows消息机制实现由不同语言编制的程序之间的相互通讯、联系,并以当前较为流行的两种语言Microsoft Visual C++ 6.0和Borland delphi 5.0为对象,用这两种语言各编制一应用程序,并能很好的通过消息进行交互。 关键字:vc++、delphi Read More
posted @ 2017-01-20 22:57
findumars
Views(1552)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号