Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] .mdb access in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-25 (02:06)
From: John Carr <jfc@m...>
Subject: Re: [Caml-list] .mdb access in OCaml

Since the exchange quoted below I have written an OCaml tool to read
.mdb files.  (The mdbtools maintainer says he has fixed the mdb-export
crash too.)  It is not in a releasable state yet, but anybody who is
interested an an incomplete package can contact me directly.

> > > There is a C package, "mdbtools", that will provide a starting point
> > > if nothing exists in ocaml.
> > 
> > I tend to do Unix.open_process_in "mdb-export foo.mdb bar" and hope that there 
> > are no memo fields with embedded newlines, which would require a slightly more 
> > elaborate parser then input_line.
> mdb-export core dumped the first time I ran it on the file.  Proximate
> cause is writing past the end of an array but the real problem is lack
> of sanity checking input data.  I guess I'll have to do it the hard way.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: