Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners