on my registration screen there is room for around
12 characters.. if i only use the first name, and
they have problems registering, they can send me
the userID they see on the registration screen.
you can see my game, LodeRunner and see how the
registration screen works by downloading it from
this URL:
http://www.hig.se/~ardiri/development/palmIII/index.html
cheers.
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 352 8192 A/H: +46 26 10 16 11
On Thu, 29 Apr 1999, Fawcett, Mitch wrote:
> Can I ask you why you only have it capturing the first name? I can see
> where that would be easier... but is there any other reason?
>
> > -----Original Message-----
> > From: Aaron Ardiri [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, April 29, 1999 12:20 PM
> > To: 'PalmDevForum'
> > Subject: Re: User name registration
> >
> >
> > this is what i use:
> >
> > ---
> > Char userName[dlkUserNameBufSize];
> >
> > CharPtr
> > getUserName()
> > {
> > CharPtr firstSpaceP;
> >
> > DlkGetSyncInfo(NULL, NULL, NULL, &userName[0], NULL, NULL);
> >
> > // only use the FIRST name
> >
> > firstSpaceP = StrChr(userName, spaceChr);
> > if (firstSpaceP != NULL)
> > *firstSpaceP = '\0'; // put a '\0' at the end of the string
> >
> > return userName;
> > }
> > ---
> >
> > hope this helps.. you can get this source from HardBall
> >
> > az.
> > --
> > Aaron Ardiri
> > Lecturer http://www.hig.se/~ardiri/
> > University-College i G�vle mailto:[EMAIL PROTECTED]
> > SE 801 76 G�vle SWEDEN
> > Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
> > Mob: +46 70 352 8192 A/H: +46 26 10 16 11
> >
> > On Thu, 29 Apr 1999, Fawcett, Mitch wrote:
> >
> > > A couple folks have mentioned using the Palm User Name as part of their
> > > registration scheme. What's the best way to trap it's value? Is there a
> > way
> > > to snag it out of the Palm device itself, or do I have to pull it from
> > the
> > > pc? I spent a few minutes looking thru the SDK and I didn't see any
> > > references to "User Name".
> > >
> > >
> >
>