Hi Jon,
- WCharCP str;
WChar filestr[MAXFILELENGTH];
StringList *strListP; - The stringlist is freed at the end of the function using mdlStringList_destroy(strListP);
- The files themselves are fine. It is the contents of the list (file names) that get corrupted. Below are images of the list corruption with over 2,000 files where the list gets corrupted from file #2340 to #3236 (selected 3236 files) and where under 2,000 files are selected and just the last file name is corrupted: