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

October 11, 2005

.NET uses True/False, ActiveX uses 1/0


…regarding some confusion with an IMAP ActiveX method argument:
In FoxPro True doesn’t exist, other than .T. or .F. so sorry for the false report, maybe on the site instead of using true and false use 0 and 1 ??? It’s pretty clear as Long; maybe that is okay for non-typed languages? True and False being 1 and 0 ??


I’m sorry for the confusion in the documentation — the docs are generated from the same source for .NET, ActiveX, and C++ components. The "Chilkat standard" is that true/false is 1 and 0 in ActiveX. If at any place in the ActiveX documentation you see True/False mentioned, it should really be 1/0 Long values.

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

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