摘要:
http://fit.c2.com/fit/files/LispPlatform/lisp/clisp-2.28/src/errwin32.d # Calls a function, passing it information about a Win32 error code. # get_O... 阅读全文
摘要:
http://blog.csdn.net/dongyonggan/article/details/5780979用法:ASSERT(表达式)如果为假,ASSERT会产生一个EASSERTIONFAiled异常,显示为Assertion Failed (C:/src/unit1.pas, [size=... 阅读全文
摘要:
delphi中类引用的使用实例类引用类引用(Class Reference)是一种数据类型,有时又称为元类(MetaClass),是类的类型的引用。类引用的定义形式如下: class of type例如:type SomeClass = class of TObject;var AnyObj... 阅读全文
摘要:
http://blog.csdn.net/henreash/article/details/3183119Delphi中有一个线程类TThread是用来实现多线程编程的,这个绝大多数Delphi书藉都有说到,但基本上都是对TThread类的几个成员作一简单介绍,再说明一下Execute的实现和Syn... 阅读全文
摘要:
http://www.2ccc.com/btdown.asp?articleid=5953ftp://download:S3cirpYW3DoR@www.2ccc.com/vcl/system/20120301114502_ThreadPool.rarDelphi线程池控件说明:模仿.Net的Thr... 阅读全文
摘要:
http://sourceforge.net/projects/threadpoolpas/http://hivelocity.dl.sourceforge.net/project/threadpoolpas/ThreadPool-1.0.6%20%28with%20compiled%20examp... 阅读全文
摘要:
http://pages.videotron.com/aminer/threadpool.htmhttp://pages.videotron.com/aminer/zip/threadpool.zipFPC Pascal v2.2.0+ / Delphi 5+http://pages.videotr... 阅读全文
摘要:
http://blog.sina.com.cn/s/blog_6250a9df0101kref.html在网上查找Delphi线程池,结果发现寥寥无几。看了半天源代码,弄得一头雾水,觉得不容易理解和使用,于是自己想写一个线程池。什么样的线程池更好呢?我觉得使用起来要可靠,并且一定要简单,这样才是更好... 阅读全文
摘要:
http://www.delphi2007.net/delphiblog/html/delphi_2004511950333715.html前言 近期,一直在使用 C++ 与 Object Pascal (后面简称 OP)深入学习面向对象编程(Object-Oriented Programmi... 阅读全文
摘要:
Cannot terminate an externally created thread ?The VCL has a new TExternalThread class which derives from TThreadand can be attached to an existing Wi... 阅读全文
摘要:
http://www.delphicorner.f9.co.uk/articles/apps7.htmTrapping Messages Sent to an ApplicationI wrote code for the OnMessage event handler of Application... 阅读全文
摘要:
http://www.techques.com/question/1-3788743/Correct-thread-destroyHello At my form I create TFrame at runtime.At this frame I create background thread ... 阅读全文
摘要:
http://www.techques.com/question/1-3627743/Delphi-thread-exception-mechanismi have a dilema on how threads work in delphi, and why at a moment when a ... 阅读全文
摘要:
Understanding the Message-Handling Systemhttp://docwiki.embarcadero.com/RADStudio/XE7/en/Understanding_the_Message-Handling_SystemAll VCL classes have... 阅读全文
摘要:
http://www.techques.com/question/1-4073197/How-do-I-send-and-handle-message-between-TService-parent-thread-and-child-thread?I took a look at OmniThrea... 阅读全文
摘要:
http://www.techques.com/question/1-10415481/How-can-I-terminate-a-thread-that-has-a-seperate-message-loopI am writing a utility unit for theSetWindows... 阅读全文
摘要:
Thread message loop for a thread with a hidden window?I have a Delphi 6 application that has a thread dedicated to communicating with a foreign applic... 阅读全文
摘要:
http://blog.csdn.net/byxdaz/article/details/5638680用户模式的线程同步机制效率高,如果需要考虑线程同步问题,应该首先考虑用户模式的线程同步方法。但是,用户模式的线程同步有限制,对于多个进程之间的线程同步,用户模式的线程同步方法无能为力。这时,只能考虑... 阅读全文
摘要:
http://delphi.cjcsoft.net//viewthread.php?tid=635在delphi线程中实现消息循环在delphi线程中实现消息循环Delphi的TThread类使用很方便,但是有时候我们需要在线程类中使用消息循环,delphi没有提供.花了两天的事件研究了一下win3... 阅读全文
摘要:
http://www.xuebuyuan.com/1889769.htmlClasses单元的AllocateHWnd函数是需要传入一个处理消息的类的方法的作为参数的,原型:function AllocateHWnd(Method: TWndMethod): HWND;很多时候,我们想要创建一个窗口... 阅读全文
摘要:
http://www.txsz.net/xs/delphi/3/Windows%20%E6%B6%88%E6%81%AF%E6%9C%BA%E5%88%B6.htmWindows 消息机制by machine大家是不是很奇怪为什么我还没说到Delphi的控件呢?不过不用着急,有关深入控件的内容,将会... 阅读全文
摘要:
Here's an interesting customer question:Windows hasPostMessageandSendMessage. It also hasPostThreadMessagebut noSendThreadMessage. Why isn't there aSe... 阅读全文
摘要:
http://delphi.about.com/od/windowsshellapi/a/wm_copydata.htmhere are many situation when you need to allow for two applications to communicate. If you... 阅读全文
摘要:
http://delphi.about.com/od/windowsshellapi/l/aa093003a.htmPage 1: How Delphi dispatches messages in windowed applicationsArticle submitted byCatalin I... 阅读全文
摘要:
http://delphi.about.com/od/windowsshellapi/a/receive-windows-messages-in-custom-delphi-class-nonwindowed-control.htmWindows messagesare a key ingredie... 阅读全文
摘要:
http://www.delphidabbler.com/articles?article=1Why do it?Sometimes we need a non-windowed component (i.e. one that isn't derived fromTWinControl) to r... 阅读全文
摘要:
http://www.thedelphigeek.com/2007/06/allocatehwnd-is-not-thread-safe.htmlhttp://gp.17slon.com/gp/files/dsiwin32.zipAllocateHwnd is not Thread-Safe[Thi... 阅读全文
摘要:
http://forums.devart.com/viewtopic.php?t=16907type tagTHREADNAME_INFO = record dwType : LongWord; // Must be 0x1000. szName : PAnsiCha... 阅读全文
摘要:
http://bbs.ednchina.com/BLOG_ARTICLE_3005455.HTMVC中WM_CLOSE、WM_DESTROY、WM_QUIT消息出现顺序及调用方式wxleasyland@sina.com2012.7wxleasyland试验:一、VC建的标准WIN32-HELLO W... 阅读全文
摘要:
https://www.autoitscript.com/autoit3/docs/appendix/WinMsgCodes.htmWM_ACTIVATE 0x0006WM_ACTIVATEAPP 0x001CWM_A... 阅读全文
摘要:
http://www.cybletter.com/index.php?id=3http://www.cybletter.com/index.php?id=30Source Codehttp://www.cybletter.com/index.php?s=file_download&id=3Full ... 阅读全文
摘要:
http://www.paradicesoftware.com/blog/2014/02/dont-use-suspend-and-resume-but-dont-poll-either/Don’t use Suspend and Resume, but don’t poll either.Cate... 阅读全文
摘要:
http://embarcadero.newsgroups.archived.at/public.delphi.rtl/201112/1112035763.html> Hi,>> What is the difference between these two definitions:>> TThr... 阅读全文
摘要:
http://www.codeproject.com/Articles/36184/Simple-Worker-Thread-ClassIntroductionMany times we need to create worker threads and generally we want to w... 阅读全文
摘要:
http://www.delphiarea.com/products/delphi-components/backgroundworker/Background Worker Component(18.1 KiB, Last updated on December 6, 2008)Source co... 阅读全文
摘要:
http://www.velleman.eu/images/tmp/usbfind.c#ifdef __cplusplusextern "C" {#endif#include #include #include #include #include // This is the GUID for th... 阅读全文
摘要:
http://www.delphibasics.co.uk/Article.asp?Name=InterfaceThe reason for interfacesClasses that extend another class can be called sub-classes. For exam... 阅读全文
摘要:
http://sergworks.wordpress.com/2011/12/08/why-we-need-interfaces-in-delphi/Why we need interfaces inDelphi.Posted onDecember 8, 2011bySergObjects are ... 阅读全文
摘要:
http://blogs.msdn.com/b/oldnewthing/archive/2005/11/04/489028.aspxWhy is there a special PostQuitMessage function?Because it's not really a posted mes... 阅读全文
摘要:
status指人时暗指相对的地位,指物时相当于 situation。situation 较狭义地指由环境综合决定的特定时间上的状态或情形。state人或物存在或所处的状态,和 condition 大体上可以互换使用。condition 指一定的原因/条件或环境所产生的特定情况。以 Recordset... 阅读全文