發表文章

目前顯示的是 9月, 2017的文章

javascript delphi

WebBrowser1 . OleObject . Document . ParentWindow . execScript ( 'alert("Hello")' ); Edit:  I found SpiderMonkey for Delphi. It supports 64 bit but there is no 64 bit dll provided. "js64.dll" that is. http://code.google.com/p/delphi-javascript/ Here is the 64 bit build. It works perfect with delphi-javascript http://depositfiles.com/files/tfryg81ny http://www.paranoia.clara.net/mozilla_delphi_project.html SpiderMonkey delphi  firefox Gecko delphi component http://delphi.wikia.com/wiki/3rd_Party_Components delphi TChromium Chromium Embedded Framework

A memory manager for Delphi and C++ Builder with powerful debugging facilities

fastmm4 https://github.com/pleriche/FastMM4 A memory manager for Delphi and C++ Builder with powerful debugging facilities Fast Memory Manager Description: A fast replacement memory manager for Embarcadero Delphi applications that scales well under multi-threaded usage, is not prone to memory fragmentation, and supports shared memory without the use of external .DLL files. Homepage:  https://github.com/pleriche/FastMM4 Advantages: Fast Low overhead. FastMM is designed for an average of 5% and maximum of 10% overhead per block. Supports up to 3GB of user mode address space under Windows 32-bit and 4GB under Windows 64-bit. Add the "$SetPEFlags $20" option (in curly braces) to your .dpr to enable this. Highly aligned memory blocks. Can be configured for either 8-byte or 16-byte alignment. Good scaling under multi-threaded applications Intelligent reallocations. Avoids slow memory move operations through not performing unneccesary downsizes and by...

TCMalloc : Thread-Caching Malloc memory manager

http://goog-perftools.sourceforge.net/doc/tcmalloc.html TCMalloc : Thread-Caching Malloc TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on a 2.8 GHz P4 (for small objects). The TCMalloc implementation takes approximately 50 nanoseconds for the same operation pair. Speed is important for a malloc implementation because if malloc is not fast enough, application writers are inclined to write their own custom free lists on top of malloc. This can lead to extra complexity, and more memory usage unless the application writer is very careful to appropriately size the free lists and scavenge idle objects out of the free listTCMalloc also reduces lock contention for multi-threaded programs. For small objects, there is virtually zero contention. For large objects, TCMalloc tries to use fine grained and efficient spinlocks. ptmal...

OmniThreadLibrary The Ultimate Delphi Threading Library

http://www.omnithreadlibrary.com/tutorials.htm OmniThreadLibrary The Ultimate Delphi Threading Library What Is OmniThreadLibrary? OmniThreadLibrary is simple to use threading library for Delphi. Currently, versions 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, and 10.2 Tokyo are supported. OmniThreadLibrary is an open source project. It lives on  GitHub  and is licensed under the  BSD license . This is not the first threading framework I've written. There are, however, few big differences between the OTL (OmniThreadLibrary) and previous projects. All previous projects were closed source, used only for the in-house programming. They were all designed from the bottom. And they all had big problems when used in some real-life cases. Still, they were an important research tools. I learned a lot from them - what works, what doesn't and, most important, what kind of threading issues are appearing in the real life applications....

delphi Socket Components

Indy ICS RealThinClient synapse FastNet http://www.programering.com/a/MTN5UjMwATQ.html http://www.streamsec.com/index.php?id=links Delphi A variety of Socket Components of the model and the model Assembly Unit Dependence Pattern Model WebApp/CGI sockapp.pas Indy Blocking or non blocking select Indy Blocking or non blocking select ICS OverbyteIcsWSocket.pas Non blocking WMAsyncSelect TTcpServer/TTcpClient sockets.pas Blocking or non blocking Select RealThinClient The ICS variant Non blocking wsaasyncselect synapse blckSock.pas Blocking or non blocking Select TServerSocket TClientSocket ScktComp.pas Blocking or non blocking WSAAsyncSelect FastNet psock.pas WSAAsyncselect TSocketConnection TServerSocket TClientSocket From the table above can be seen, not a component using the following 4 models: Blocking mode Overlap port Event selection The completion port Only to: Selec...

What Web Application Framework for Delphi is recommended?

https://stackoverflow.com/questions/3793112/what-web-application-framework-for-delphi-is-recommended There has been some activity in the  Web Application Framework  area for Delphi (Win32)  Delphi on Rails   - for D2010 DelphiMVCFramework  - for Delphi XE4 to XE8 ExtPascal  - for D7 to D2010 and Free Pascal Habari Web Framework  - for D2009 and newer and Free Pascal Kitto  - for D2010 to XE2  mORMot MVC  - for D6 and up, and latest FPC Raudus  - for D7 to XE3 and Lazarus/Free Pascal RealThinClient  - for D7 to XE5 uniGUI  - for D2006 to XE3 WebHub  - for D2010 to XE4 xxm  - for D7 and newer See ExtPascal, at  http://code.google.com/p/extpascal Elevate Web Builder Smart Mobile Studio uniGUI  (unified Graphical User Interface) is a framework for developing AJAX Web Applications in classical WYSIWYG Delphi RAD   In a past job, I used  webhub  (http://www.href....