I have downloaded the SDK, and found about what I was looking for.  I am
still having a problem though.  I found a couple functions in
UserData.dll that look helpful. 

Here they are in the header file:

short WINAPI UmGetUserCount(void);
long WINAPI UmGetUserID(short sIndex, DWORD *pdwUserID);
long WINAPI UmGetUserName(DWORD dwUserID, char *pUserNameBuffer, short
*psUserNameBufSize);
long WINAPI UmGetUserDirectory(DWORD dwUserID, TCHAR *pUserDirBuffer,
short *psUserDirBufSize);

I imported the first function by doing this in VB6:

Private Declare Function GetUserCount Lib "UserData" Alias
"UmGetUserCount" () As Integer

However, I could not manage to get the other 3 to work, since I'm not
really sure what to do about the pointers and strange (in VB6 terms)
datatypes.  Can someone show me how to call the other functions from my
VB6 app?


-Jesse Swidler

-----Original Message-----
From: Mikhail Barashkov [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 11:14 AM
To: Palm Developer Forum
Subject: Re: Retrieving a list of palm users

Jesse S. Swidler wrote:

>I want to get a list of palm users and the directories their files are
stored in.  I am writting my application in VB6, and the purpose is to
collect some backup files from the Backup folder and upload them to our
SFTP site - to automate the process for some of our customers who are
having difficulty with my company's software.
>
>Currently, I am just searching for folders in the Palm Directory that
we haven't seen Palm's software put there before.  This has the rather
large downside of having truncated user names (down to 6 letters and
possibly a digit appended to the folder name), and not being at all air
tight.  There must be a better way to find the list of palm users, and
their associated directory.  Does anyone know how?
>  
>
You should download Conduit SDK from PalmSource Mikhail Barashkov
Handydev

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to