Oops! I apologize - this is the wrong forum!
DP
"Deryk Piper" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi!
>
> I'm working on a conduit that's modified from Palm's generic version.
> For the purposes of this conduit and the palm application, it is known in
> advance what the database names are. So, I'd like to get information
> regarding each particular database (not information for all databases, but
> information for the database that the conduit is working with at any one
> time) and stick it into a CDbList class so that the rest of the conduit
can
> get to the database information.
>
> I've got the following code snippet:
>
> struct SyncFindDbByNameParams rParam;
> struct SyncDatabaseInfoType rInfo;
> BYTE hHHDb;
>
> // Setup params for DB find
> rParam.dwCardNum = 0;
> rParam.bOptFlags = 0;
> rParam.pcDatabaseName = (char*) malloc(strlen(pcDBName)+1);
> strcpy(rParam.pcDatabaseName, pcDBName);
>
> // Find database - get info so managers can work with it
> err = SyncFindDbByName(rParam, rInfo);
>
> The SyncManager function seems to find the database (I can test this
by
> specifying a database name that doesn't exist) but the rInfo structure
> always comes back empty. So I'm kinda stumped.
>
> If the answer is obvious, please go easy on me :)
>
> Thanks in advance!
>
> DP
>
>
>
>
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/