Hi,
I'd need some help on reading from a database created in a VB/Com suite
conduit like this (1 longInt, 3 strings)

        ReDim vData(0 To 4 + Len(str1) + Len(srt2) + Len(str3) + 4)

        n = pUtility.DWORDToByteArray(vData, 0, True, long1)
        n = pUtility.BSTRToByteArray(vData, n,str1)
        n = pUtility.BSTRToByteArray(vData, n, str2)
        n = pUtility.BSTRToByteArray(vData, n, str3)

        vUniqueId = vbEmpty
        pRec.Write vUniqueId, 0, 0, vData

I want to put the data in this struct within my palm app (C / Codewarrior):

        typedef struct {
         DateType Long1;
         Char*  srt1;
         Char*  srt2;
         Char*  srt3;
        } testDB;

...but I cant get it to read it correctly, anyone who can give me some tips
Thanks / Jimmy










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

Reply via email to