Lynn,
Thanks for the added example lines to the usage for the examples and such. Could you please submit a patch for inclusion. It would make my life much easier than submitting the entire changed file and me having to diff and manually make the changes. You should be able to run, from the top level of your tree, a command similar to:


svn diff > usageExamples.patch

and send me the patch file.

If you're using TortoiseSVN, I think there's a right-click|Create Patch option.

        Thanks Lynn,
                -Troy.


PS. I don't think we can add the VC6 project files to clutter our source directories. If you can get them to follow the same theme as our other project files, then we can consider adding them; however, we're really close to a final release for 1.5.8-- but I would still like them added, even if they do not make this release. -T.




Lynn Allan wrote:
From: "Chris Little" <[EMAIL PROTECTED]>

The library and diatheke now build & diatheke runs correctly, using

VC++

6 and 7.1.


Thanks. Much better.

If it would help, I put together a series of vc6 .dsp project files
for sword\examples\cmdline and sword\tests. Also, I incorporated some
changes in some of the usage messages to hopefully make it a little
clearer what the cmdline expects. In addition, there is a vc7.1
project for showchapter.cpp
http://lcdbible.sf.net/misc/swordvc6.zip

I found the .cpp programs in examples\cmdline and tests useful in
getting up-to-speed with the sword-api ... can be much easier to
"step-thru and step-into" with a console app than a gui like biblecs
... especially for vc7 and vc7.1 users

Some other suggestions:

* Pls save libsword.sln with libsword.vcproj (it's generated, but
could throw off newbies when first thing vc7.1 does is ask whether to
save libsword.sln)

* Pls revise diatheke to allow it to run without arguments. It can be
less than obvious to figure out the cmdline to get it to run . (or
perhaps detect -help or /? and make substitutes if this would throw
off apps that use diatheke for real work?)
int main(int argc, char **argv)
{
...
   if (argc == 1) {
      outputencoding = FMT_PLAIN;
      text = "KJV";
      ref = "James 1:19";
      runquery = RQ_BOOK | RQ_REF;
   }
   if (runquery == (RQ_BOOK | RQ_REF)) {
      doquery( .... );
   }
      else printsyntax();

   return 0;
}

* tests\modtest.cpp references RWP ... KJV probably more likely to
work

* tests\parsekey.cpp doesn't work any longer ... obsolete call to
 VerseKey *element = dynamic_cast<VerseKey *>(verses.GetElement(i));

* tests\swbuftest ... won't compile with vc6 ... redefinition of j
may hang when running ... runs a looooong time

* examples\cmdline\lookup and search ... usage gives example



_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page

Reply via email to