Helping with old programming environments where string lengths are limited, such as Microsoft Navision

Many Chilkat methods have string arguments, and return strings. In some cases, the strings can be long. There are older programming environments such as Microsoft Navision, SQL Server, and others where string lengths have limits. These older programming languages support ActiveX, and programmers utilize Chilkat via the ActiveX DLL. To get around the string limitation issues, rather than directly passing in a string or returning string, Chilkat provides alternative methods to pass a StringBuilder object, or return the results in a StringBuilder object. This is a good technique even for programming language without limitations, and where the strings passing in/out of the ActiveX are extremely large.

Here is an example where the HTTP response is returned in a StringBuilder, and where the MIME source of an email is passed to Chilkat in a StringBuilder:

AutoIt Demonstrate http.DownloadSb and email.SetFromMimeSb
C Demonstrate http.DownloadSb and email.SetFromMimeSb
Python Demonstrate http.DownloadSb and email.SetFromMimeSb
C++ Demonstrate http.DownloadSb and email.SetFromMimeSb
C# Demonstrate http.DownloadSb and email.SetFromMimeSb
DataFlex Demonstrate http.DownloadSb and email.SetFromMimeSb
Delphi Demonstrate http.DownloadSb and email.SetFromMimeSb
Visual FoxPro Demonstrate http.DownloadSb and email.SetFromMimeSb
Go Demonstrate http.DownloadSb and email.SetFromMimeSb
Java Demonstrate http.DownloadSb and email.SetFromMimeSb
Objective-C Demonstrate http.DownloadSb and email.SetFromMimeSb
Perl Demonstrate http.DownloadSb and email.SetFromMimeSb
PHP ActiveX Demonstrate http.DownloadSb and email.SetFromMimeSb
PHP Demonstrate http.DownloadSb and email.SetFromMimeSb
PowerBuilder Demonstrate http.DownloadSb and email.SetFromMimeSb
PowerShell Demonstrate http.DownloadSb and email.SetFromMimeSb
Swift Demonstrate http.DownloadSb and email.SetFromMimeSb
Tcl Demonstrate http.DownloadSb and email.SetFromMimeSb
VB6 Demonstrate http.DownloadSb and email.SetFromMimeSb
VB.NET Demonstrate http.DownloadSb and email.SetFromMimeSb
VBScript Demonstrate http.DownloadSb and email.SetFromMimeSb
Xojo Demonstrate http.DownloadSb and email.SetFromMimeSb

Tags :