Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

July 23, 2007

Using CkStringArray in Delphi

CkStringArray is a utility object belonging to the ChilkatUtil.dll ActiveX. It is an object used by many of the Chilkat components. To use it in Delphi, the declaration depends on whether the object is returned from a method call, or whether you are creating it outright. To create it, you do this:

procedure TForm1.Button1Click(Sender: TObject);
var
sa: TCkStringArray;
...
	
begin
//  This is not an array -- it's an object.
sa := TCkStringArray.Create(Self);
...

Example: http://www.example-code.com/delphi/string_stringArray.asp

To declare a CkStringArray returned from a method call, do this:

procedure TForm1.Button1Click(Sender: TObject);
var
sa: CHILKATUTILLib_TLB.ICkStringArray;
...
	
sa := mailman.GetUidls() as CHILKATUTILLib_TLB.ICkStringArray;
...

Example: http://www.example-code.com/delphi/pop3_getUidls.asp


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.