Ok, hopefully before I start a flame war: Sorry about the last email.
In fact it is in the knowledge base, it's easy to find, and the unnamed
person I was having a go at had in fact sent a perfectly reasonable reply.
I was getting frustrated looking for information and vented my spleen at
someone who was blameless.
Sorry!
Alastair
----- Original Message -----
From: Alastair Chisholm <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 27, 1999 6:43 PM
Subject: Re: User Information
> Hi Bastian,
>
> Here you are - this is a method I use.
>
> CharPtr getName()
> {
> static char name[dlkUserNameBufSize];
>
> DlkGetSyncInfo( NULL, NULL, NULL, name, NULL, NULL );
> if (!name[0])
> {
> StrCopy( name, "Emulator" );
> }
> return name;
> }
>
> Alastair
>
> ps. Have you noticed how many Palm programming snobs there are? You post
a
> reasonable question onto the group and get abuse for it. In cases where
the
> person really hasn't made an effort to find out, then fair enough, but I
> know for a fact that this bit of code isn't available in any of the
> documentation handed out by 3Com (or anyone else I could see), and it
isn't
> on the 'Knowledge' base either.
>
> Alastair
>
>
>
> ----- Original Message -----
> From: Bastian <[EMAIL PROTECTED]>
> To: Palm Dev Mailing List <[EMAIL PROTECTED]>
> Sent: Monday, September 27, 1999 5:07 PM
> Subject: User Information
>
>
> > Hi,
> >
> > does someone know how to get the user or owner string (set in
> > Prefs/Owner) within a program?
> >
> > Thanks a lot
> >
> > Bastian
> >
>
>
>