Nevermind.. answered my own question with a hint from an archived message..
for the archives, the correct way to do this:
char path[512];
char user[512];
path[0] = 0;
DWORD dwUserID;
short UserCount = UmGetUserCount();
for (idx = 0; idx < UserCount; idx++)
{
UmGetUserID(idx, &dwUserID);
// sz has to be reset every time, UmGetUserName resets it to the size
retrieved
sz = sizeof(user);
UmGetUserName(dwUserID, user, (short *)&sz);
strcat(path, user);
strcat(path, ",");
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/