The string is null terminated and it is the right name...
Alex.
----- Original Message -----
From: "Scott Johnson (WA)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 1999 3:36 PM
Subject: RE: Database problems????
> > If we hard code the db name, it is found with no
> > problems. If we use a CharPtr that was retrieved
> > from the list, it does not find it??? Am I
> > wrong? Does DmFindDatabase(Cardnumber, CharPtr) want
> > something besides a CharPtr?
>
> Check these things if you haven't already:
>
> - Make sure the string is properly zero-terminated;
> - DmFindDatabase is case sensitive (I think) so verify case in the name
>
> -slj-
>
>
>