Tcl Requires Chilkat v11.0.0+
Tcl
Transition from Email.GetLinkedDomains to Email.LinkedDomains
Provides instructions for replacing deprecated GetLinkedDomains method calls with LinkedDomains. The code below uses the replacement API without constructing the deprecated returned array.Chilkat Tcl Downloads
load ./chilkat.dll
set success 0
set email [new_CkEmail]
# ...
# ...
# Replace the deprecated GetLinkedDomains method using LinkedDomains.
# Your application creates a new, empty StringTable object which is passed
# in the last argument and filled upon success.
set st [new_CkStringTable]
set success [CkEmail_LinkedDomains $email $st]
if {$success == 0} then {
puts [CkEmail_lastErrorText $email]
delete_CkEmail $email
delete_CkStringTable $st
exit
}
delete_CkEmail $email
delete_CkStringTable $st