![]() |
Chilkat HOME Android™ AutoIt C C# C++ Chilkat2-Python CkPython Classic ASP DataFlex Delphi DLL Go Java Node.js Objective-C PHP Extension Perl PowerBuilder PowerShell PureBasic Ruby SQL Server Swift Tcl Unicode C Unicode C++ VB.NET VBScript Visual Basic 6.0 Visual FoxPro Xojo Plugin
(Visual FoxPro) Transition from MailMan.FetchMultipleMime to MailMan.FetchMimeBdProvides instructions for replacing deprecated FetchMultipleMime method calls with FetchMimeBd. Note: This example requires Chilkat v11.0.0 or greater.
LOCAL loMailman LOCAL loSaUidls LOCAL loStUidls LOCAL loSaMime LOCAL lnSuccess LOCAL loBdMime LOCAL lnNumUidls LOCAL i * For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.MailMan') loMailman = CreateObject('Chilkat.MailMan') * ... * ... * For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.StringArray') loSaUidls = CreateObject('Chilkat.StringArray') loSaUidls.Append("aaa") loSaUidls.Append("bbb") loSaUidls.Append("ccc") * For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.StringTable') loStUidls = CreateObject('Chilkat.StringTable') loStUidls.Append("aaa") loStUidls.Append("bbb") loStUidls.Append("ccc") * ------------------------------------------------------------------------ * The FetchMultipleMime method is deprecated: loSaMime = loMailman.FetchMultipleMime(loSaUidls) IF (loMailman.LastMethodSuccess = 0) THEN ? loMailman.LastErrorText RELEASE loMailman RELEASE loSaUidls RELEASE loStUidls CANCEL ENDIF * ... * ... RELEASE loSaMime * ------------------------------------------------------------------------ * Do the equivalent using FetchMimeBd. lnSuccess = 0 * For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.BinData') loBdMime = CreateObject('Chilkat.BinData') lnNumUidls = loStUidls.Count i = 0 DO WHILE i < lnNumUidls lnSuccess = loMailman.FetchMimeBd(loStUidls.StringAt(i),loBdMime) * ... * ... i = i + 1 ENDDO RELEASE loMailman RELEASE loSaUidls RELEASE loStUidls RELEASE loBdMime |
© 2000-2025 Chilkat Software, Inc. All Rights Reserved.