caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: John Carr <jfc@mit.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] .mdb access in OCaml
Date: Tue, 24 Aug 2004 22:06:28 -0400	[thread overview]
Message-ID: <200408250206.i7P26SR0002390@department-of-alchemy.mit.edu> (raw)
In-Reply-To: Your message of "Thu, 05 Aug 2004 17:45:03 EDT." <200408052145.i75Lj3I3019675@w20-575-49.mit.edu>


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


      reply	other threads:[~2004-08-25  2:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 16:15 John Carr
2004-08-04 23:15 ` [Caml-list] automatic documentation of ocamlyacc grammars shaddin
2004-08-05 17:23   ` Brock
2004-09-02 14:40   ` Hendrik Tews
2004-08-05  7:01 ` [Caml-list] .mdb access in OCaml Florian Hars
2004-08-05 21:45   ` John Carr
2004-08-25  2:06     ` John Carr [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200408250206.i7P26SR0002390@department-of-alchemy.mit.edu \
    --to=jfc@mit.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).