Link to home
Start Free TrialLog in
Avatar of microcoop
microcoop

asked on

How to search a binary file

I have a program that writes error information to a binary file. Each error code has an ID and alot of other information with it. Since the legacy app shows the error code but not the info, I want to write a command line program that will allow me to enter the ID number and then display all of that records contents. I really just don't know where to start.
ASKER CERTIFIED SOLUTION
Avatar of Mysidia
Mysidia
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of microcoop
microcoop

ASKER

I just dumped the whole file, it does have fixed widths to the fields.