![]() |
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
(Tcl) Transition from Email.GetAttachedMessage to Email.GetAttachedEmailProvides instructions for replacing deprecated GetAttachedMessage method calls with GetAttachedEmail. Note: This example requires Chilkat v11.0.0 or greater.
load ./chilkat.dll set email [new_CkEmail] # ... # ... set index 0 # ------------------------------------------------------------------------ # The GetAttachedMessage method is deprecated: # emailObj is a CkEmail set emailObj [CkEmail_GetAttachedMessage $email $index] if {[CkEmail_get_LastMethodSuccess $email] == 0} then { puts [CkEmail_lastErrorText $email] delete_CkEmail $email exit } # ... # ... delete_CkEmail $emailObj # ------------------------------------------------------------------------ # Do the equivalent using GetAttachedEmail. # Your application creates a new, empty Email object which is passed # in the last argument and filled upon success. set emailOut [new_CkEmail] set success [CkEmail_GetAttachedEmail $email $index $emailOut] if {$success == 0} then { puts [CkEmail_lastErrorText $email] delete_CkEmail $email delete_CkEmail $emailOut exit } delete_CkEmail $email delete_CkEmail $emailOut |
© 2000-2025 Chilkat Software, Inc. All Rights Reserved.