Mihai,
      'appl' databases are Resource databases, so you can't use DmQueryRecord. you 
should use
DmGetResourceIndex.
      You can know if it is a ResDB by calling, DmOpenDatabaseInfo .

Sebastian.

Friday, July 30, 2004, 11:11:05 AM, you wrote:

MC> Hi.

MC> I want to transfer files from hhc to pc. I succeeded with 'data'
MC> database type but not with 'appl' type. Can anyone help me? 
MC> I tried in this way:

MC>             MemHandle hRec_file = NULL;
MC>             hRec_file = DmQueryRecord(m_hDb, nIndex);
MC>             MemHandleLock(hRec_file);
MC>             if (hRec_file != NULL)
MC>             {
MC>                     nSize = MemHandleSize(hRec_file);
MC>                     MemHandleUnlock(hRec_file);
MC>             }
MC> But when I call             MemHandleLock(hRec_file);    crashes.

MC> Please help.

MC> Thanks 
MC> Mihai Bogdan Ciornei
MC> www.Transart.ro


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



-- 
Saludos,
 Sebastian                            mailto:[EMAIL PROTECTED]

----------------------------------------------------------
"I pity the poor shades confined to the euclidean prison
that is sanity."



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

Reply via email to