recovery

Derek Atkins warlord at MIT.EDU
Sat Nov 3 16:51:54 EDT 2007


Quoting hendrik at topoi.pooq.com:

> On Fri, Nov 02, 2007 at 09:02:28AM -0400, Derek Atkins wrote:
>> hendrik at topoi.pooq.com writes:
>>
>> > So I still use hand-coded C++ to read the gnucash file.
>>
>> Why?  Why not just link against libgncengine and load the
>> gnc-backend-file into your code?  We already have an API that you can
>> use to read GnuCash data files.  Moreover, using the GnuCash API means
>> you'll not "break" when the data file changes format!
>
> I wrote the thing years ago and just make patshes from year to year as
> our requirements change.  I hadn't heard of the API.  Wher can I fint
> the details?

In the GnuCash sources.  Docs are online at http://cvs.gnucash.org/docs/HEAD

> And is it sufficiently versioned that it will still be able to read old
> gnucash files when the format changes?

If GnuCash can read the datafile still, then using these libraries
will let you read it.

> -- hendrik

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list