| (Unicode C++) Transition from MailMan.GetUidls to MailMan.FetchUidlsProvides instructions for replacing deprecated GetUidls method calls with FetchUidls. Note: This example requires Chilkat v11.0.0 or greater. 
 #include <CkMailManW.h>
#include <CkStringArrayW.h>
#include <CkStringTableW.h>
void ChilkatSample(void)
    {
    CkMailManW mailman;
    // ...
    // ...
    // ------------------------------------------------------------------------
    // The GetUidls method is deprecated:
    CkStringArrayW *sa = mailman.GetUidls();
    if (mailman.get_LastMethodSuccess() == false) {
        wprintf(L"%s\n",mailman.lastErrorText());
        return;
    }
    // ...
    // ...
    delete sa;
    // ------------------------------------------------------------------------
    // Do the equivalent using FetchUidls.
    // Your application creates a new, empty StringTable object which is passed 
    // in the last argument and filled upon success.
    CkStringTableW st;
    bool success = mailman.FetchUidls(st);
    if (success == false) {
        wprintf(L"%s\n",mailman.lastErrorText());
        return;
    }
    }
 |