Lynn: I used VC6 and tried to compile what you have to see if I can create the program. I am pretty new in VC and try to learn as much as I can. Do you have any Diatheke that you can compile. I tried to compile the library and Diatheke in sword-1.57a, but also got missing file message. Where is the "test/samples" subdirectory? Paul
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lynn Allan Sent: Thursday, March 10, 2005 2:21 PM To: SWORD Developers' Collaboration Forum Subject: [sword-devel] Re: MiniDiatheke [was: Borland C++] Hi Paul, You are looking at some pretty dated code that may well be obsolete. Mea culpa. What are you trying to do? What is your development environment? VC6? I could try to "refresh" the code if that would be helpful. One of the intentions of "MiniDiatheke" and "MicroDiatheke" was to simplify newbies getting "up to speed" with the extremely comprehensive sword-api. It might serve as "training wheels" to get started. Since that code was 'published', I believe the "test/samples" subdirectory has been expanded with more examples that are "baby steps" to understand and use the sword-api. Have you looked at those? For His glory and honor, ----- Original Message ----- From: "Pham, Khoi" <[EMAIL PROTECTED]> To: "SWORD Developers' Collaboration Forum" <sword-devel@crosswire.org> Sent: Thursday, March 10, 2005 9:22 AM Subject: RE: [sword-devel] Borland C++ > Lynn Allan > > I tried to extract your SwordMiniDiathekeWithoutModules.zip into a > directory and build diatheke.exe I got the following message: > > Compiling... > diatheke.cpp > C:\SwordMiniDiatheke\apps\console\miniDiathekeUncompressed\diatheke.cp p( > 89) : error C2039: 'getMaxChapterInBook' : is not a member of 'VerseKey' > c:\swordminidiatheke\include\versekey.h(55) : see declaration of > 'VerseKey' > C:\SwordMiniDiatheke\apps\console\miniDiathekeUncompressed\diatheke.cp p( > 91) : error C2039: 'getMaxVerseInChap' : is not a member of 'VerseKey' > c:\swordminidiatheke\include\versekey.h(55) : see declaration of > 'VerseKey' > Error executing cl.exe. > > diatheke.exe - 2 error(s), 0 warning(s) > > What is missing? > > Paul Pham > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lynn Allan > Sent: Tuesday, February 15, 2005 10:24 AM > To: Greg Marine; SWORD Developers' Collaboration Forum > Subject: Re: [sword-devel] Borland C++ > > I wasn't able to get lookup.cpp to compile/link. Sorry. > > There are two complete vc6 projects available that may help with your > "learning curve" to get up-to-speed with the sword-api. These are the > "training wheels" simplifications of diatheke. You may find them > helpful to be able to build a subset of the sword-api, and then be > able to use the vc6 debugger to step into code and see how it works. > > It is especially applicable to see how "versification" is done to > convert a reference like John 3:16 into a file offset and length. The > uncompressed example is less complex than the compressed example. > > www.bibleinverse.org/Misc/SwordMiniDiathekeWithModules.zip > www.bibleinverse.org/Misc/SwordMiniDiathekeWithoutModules.zip > > SwordMiniDiathekeWithModules.zip can be unzipped anywhere. It is > "self-contained" with the uncompressed and compressed modules. The > libswordvc6.lib and libswordvc6d.lib have been built. > > SwordMiniDiathekeWithoutModules.zip needs to be unzipped in the same > directory structure as Sword. It assumes a "standard development > directory layout", such as: > > X:\SwordDir > X:\SwordDir\apps > X:\SwordDir\apps\console > X:\SwordDir\include > X:\SwordDir\lib > X:\SwordDir\mods.d > X:\SwordDir\modules > X:\SwordDir\modules\texts > X:\SwordDir\modules\texts\rawtext > X:\SwordDir\modules\texts\ztext > X:\SwordDir\src > > Some notes/caveats: > * The source files are from 1.5.6 and may not be completely current. > * These aren't for Borland C++, but rather for Visual C++ 6 > > HTH. Let me know if you have questions. > > > ----- Original Message ----- > From: "Greg Marine" <[EMAIL PROTECTED]> > To: "Lynn Allan" <[EMAIL PROTECTED]> > Sent: Monday, February 14, 2005 5:06 PM > Subject: Re: [sword-devel] Borland C++ > _______________________________________________ sword-devel mailing list sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel ----------------------------------------- *****************Internet Email Confidentiality Footer****************** Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of The Shaw Group Inc. or its subsidiaries shall be understood as neither given nor endorsed by it. ________________________________________________________________________ The Shaw Group Inc. http://www.shawgrp.com _______________________________________________ sword-devel mailing list sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel