Sample code for 30+ languages & platforms
Visual FoxPro Requires Chilkat v11.0.0+

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls.

Chilkat Visual FoxPro Downloads

Visual FoxPro
LOCAL lnSuccess
LOCAL loMailman
LOCAL loSa
LOCAL loSt

lnSuccess = 0

loMailman = CreateObject('Chilkat.MailMan')

*  ...
*  ...

*  ------------------------------------------------------------------------
*  The GetUidls method is deprecated:

loSa = loMailman.GetUidls()
IF (loMailman.LastMethodSuccess = 0) THEN
    ? loMailman.LastErrorText
    RELEASE loMailman
    CANCEL
ENDIF

*  ...
*  ...

RELEASE loSa

*  ------------------------------------------------------------------------
*  Do the equivalent using FetchUidls.
*  Your application creates a new, empty StringTable object which is passed 
*  in the last argument and filled upon success.

loSt = CreateObject('Chilkat.StringTable')
lnSuccess = loMailman.FetchUidls(loSt)
IF (lnSuccess = 0) THEN
    ? loMailman.LastErrorText
    RELEASE loMailman
    RELEASE loSt
    CANCEL
ENDIF

RELEASE loMailman
RELEASE loSt