TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jerry Mcbride
from: John Beal
date: 1996-07-26 19:28:04
subject: Cards Format?

JM> I'm looking for the format of the databse that the WINDOWS 
JM> 3.1 CARDFILE application generates.

Well, just looking at the .CRD files in a hex editor...and I haven't
fully figured some of this, but maybe you can expand on this as you go
along.


Header - (12) bytes, all null except as noted below:
Signature   : 3 chars, bytes 1,2 & 3 = 0x4D 0x47 0x43 = "MGC"
# of Entries: 2 chars, bytes 4 & 5, low byte/high byte, in hex, 
              total number of entries in card file.
               - note: may be 4 bytes long?
Pad?        : 6 bytes null.

Index  - (52) bytes total, running consectutively
Data locator: 4 bytes, hex location of card's data buffer.
Pad?        : 1 byte null.
Index       : 47 bytes each, null terminated. May contain extraneous 
              data between null terminator and end of record.
               - note: cardfile has 39 char. limit during input.

Data   - (4) bytes + size as indicated, running consecutively
Length      : 4 bytes, as pointed to by Data Locator, hex length
              of data that follows
Card data   : Data.




jpbeal, Friday, 07-26-1996

___
 X KWQ/2 1.2i X AIBOHPHOBIA - the fear of palindromes.
--- Maximus/2 3.01
* Origin: Atlanta's OS/2 UG BBS/FAX 770-471-1549 USR v.* (1:133/9009)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 133/9009 2001 2 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.