delphi spirit, forever

Archive for the ‘delphi code’ Category

16 Jan, 2009

Fundamentals v.4.00 RC1 for delphi

Posted by: admin In: delphi code

By Fundamentals. FUNDAMENTALS is a collection of Delphi code libraries. FUNDAMENTALS UTILITIES contains the following units:
cDataStructs.pas Data structures
cDateTime.pas Date and Time functions
cFileUtils.pas File utility functions
cHash.pas Hashing functions
cRandom.pas Uniform random number generators
cSocket.pas System socket class
cSocketHostLookup.pas Socket host lookup class
cSocketLib.pas System socket library
cStreams.pas Streams
cStrings.pas Ansi String functions
cSysClasses.pasSystem classes
cSysUtils.pas System utilities
cUnicodeCodecs.pas Unicode encoders/decoders
cUnicodeChar.pas Unicode character functions
cUnicode.pas Unicode string [...]

20 Dec, 2008

Use XMLHTTP in Delphi

Posted by: admin In: delphi code

You can use xmlhttp in delphi like this

Function XMLHTTPSTR:String;
var
url:string;
xmlHttp:Olevariant;
responseText:Widestring;
begin
With Form1 do
Begin
if (Length(edit1.Text)>0) AND (Length(edit2.Text)>0) then
begin
xmlHttp:=CreateOleObject(’MSXML2.XMLHTTP’);
xmlHttp.open(edit2.Text,edit1.Text,false);
xmlHttp.send;
Result:=xmlHttp.responseText;
end
else
showmessage(’fill submit url’);
end
else
showmessage(’fill url’);
end;
end;

Related posts

How to load an XML document into the DOM (0)
DIHtmlParser v5.0.0 (0)

Tags: ,

Fast Memory Manager is a  fast replacement memory manager for Borland Delphi Win32 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. It’s free and opensource, you can download it from here.

Related posts

VCL for PHP Open Components (0)
PHP4Delphi (0)
How to use sqlite [...]

24 Nov, 2008

How to load an XML document into the DOM

Posted by: admin In: delphi code

From here, we will look at the code that we used to create a program that enabled us to load an XML document into DOM. This article is the fourth part of a four-part series that covers Delphi, XML, and the DOM.

Related posts

Use XMLHTTP in Delphi (0)
DIHtmlParser v5.0.0 (0)

Tags: ,

16 Nov, 2008

COPY, INHERIT OR USE?

Posted by: admin In: delphi code

Do you know, you can copy, inherit or use the form in the delphi, what’s the difference?
COPY, INHERIT OR USE?
Code reusability saves us time and effort, increasing our productivity. Object-oriented programming has something to do with that, and in the case of Delphi we can reuse forms and even entire projects. For example if we [...]

Tags: ,

16 Nov, 2008

Creating an RSS Reader use Delphi

Posted by: admin In: delphi code

From here: Everyone who owns a website would have heard about the RSS phenomenon. Now you will get the opportunity to create your own RSS reader that will enable you to download and view RSS files on your desktop. This application will enable you to read RSS feeds from the Internet with the added advantage [...]

Tags: ,