Xbase++ Requires Chilkat v11.0.0+
Xbase++
Transition from MailMan.GetUidls to MailMan.FetchUidls
Provides instructions for replacing deprecated GetUidls method calls with FetchUidls.Chilkat Xbase++ Downloads
LOCAL nSuccess
LOCAL oMailman
LOCAL oSa
LOCAL oSt
nSuccess := 0
oMailman := CreateObject("Chilkat.MailMan")
// ...
// ...
// ------------------------------------------------------------------------
// The GetUidls method is deprecated:
oSa := oMailman:GetUidls()
IF (oMailman:LastMethodSuccess == 0)
? oMailman:LastErrorText
oMailman:destroy()
RETURN
ENDIF
// ...
// ...
oSa:destroy()
// ------------------------------------------------------------------------
// Do the equivalent using FetchUidls.
// Your application creates a new, empty StringTable object which is passed
// in the last argument and filled upon success.
oSt := CreateObject("Chilkat.StringTable")
nSuccess := oMailman:FetchUidls(oSt)
IF (nSuccess == 0)
? oMailman:LastErrorText
oMailman:destroy()
oSt:destroy()
RETURN
ENDIF
oMailman:destroy()
oSt:destroy()