Insert this at the end of the while loop:
pRstSchema->MoveNext();
Otherwise, you have an endless loop showing only the first table name.
The
MSys* tables are MS Access internal tables. If you want to exclude them from being shown, just check for names beginning with 'MSys'.