External App connection to a GnuCash file

Josh Sled jsled at asynchronous.org
Tue Aug 28 20:01:28 EDT 2007


"Daniel Espinosa" <esodan at gmail.com> writes:
> Why I have an error message for the file
> /usr/local/include/gnucash/qofutil.h in the line:
>
> #   error "No scanf format string is known for LLD. Fix your
> ../configure so that the correct one is detected!"
>
> The actual code in qofutil.h file is:

Did you include a "config.h", which might define one of those
HAVE_... values?  What/how are you building your sources?


> What are the steps to open a Session/Book in QOF?

Take a look at some of the test files.  Try
src/backend/file/test/test-load-xml2.c


> I have the following code:

I think that's roughly correct. 


> Are there any Tutorial to use GnuCash's QOF?

Not as such.  There's plenty of documentation in the code, and there's
bunches of GnuCash code that uses QOF, of course. 

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo ${a}@${b}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070828/4385d03f/attachment.bin 


More information about the gnucash-devel mailing list