[ text/html is unsupported, treating like TEXT/PLAIN ]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html>
Hello, <p> We have a problem as follows. <br> We have a database file tabinfo.mdb created under WINDOWS using pervasive SQL(Btrieve).Now we are trying to access it with GPC. <br> We fear that there is some allignment problem in the records stored and the record passed to read data out. <br> The record we used to create the tabinfo in windows is : <p><font size=-1>MDB_MLTABL_TYPE = RECORD</font> <br><font size=-1> MLTABLNM : CHAR_8 ;</font> <br><font size=-1> RID : word ;</font> <br><font size=-1> LENPHYS : word ;</font> <br><font size=-1> PHYSINF : PH_ADDR ;</font> <br><font size=-1> EDITION : BYTE ;</font> <br><font size=-1> DATALEV : FS_FILE_TYPE ;</font> <br><font size=-1> MLTABDES : PH_ADDR ;</font> <br><font size=-1> ATTCOUNT : BYTE ;</font> <br><font size=-1> ATTINFO : ARRAY [ 1..MAX_ATTRIBS ]</font> <br><font size=-1> OF MDB_ATTR_INFO_TYPE ;</font> <br><font size=-1> RELFILES : ARRAY [ 1..MAX_RELFILES ]</font> <br><font size=-1> OF MDB_REL_FILE_TYPE ;</font> <br><font size=-1> END ;</font> <p>We use the same record structure to read data back from it (but in GPC).But it doesnot read properly. <br>Can you tell us why this happens? <br>BTW, fs_file_type is a Enumerated type . <br>ph_addr is longint. <br>(We have given <br> longint=int32 <br> word=word16 in our program). <p>Thanks and Regards, <br>Hari</html>
What is this? Please do not use deviant message formats, since they are simply unreadable for most readers.