English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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-05 (21:45)
From: John Carr <jfc@m...>
Subject: Re: [Caml-list] .mdb access in OCaml

> John Carr wrote:
> > 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