Ton,

Thanks for the suggestion ... making progress, but still a ways to go.

I converted the unix program to Windows vc7.1. Vc7.1 doesn't have getopt(), so 
I made my best guess at "hard-wiring" the options to:
- binary_opt = false;
- compress_opt = false;
- no_check_opt = true;
- verbose_opt = true;
argv[1] = test.vpl  (31 line text file)
argv[2] = test.pdb

I used _byteswap_ushort and _byteswap_ulong instead of ntohs, ntohl, htons, and 
htonl.

It seemed to sort of work, but 
pal h test.pdb 
reports 2 records.

Suggestions appreciated. Are different options appropriate? Am I leaving 
something out or missing a step?



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

Reply via email to