Hello Troy, thank you for this hint i have it tried but i haven't found the stdrr output on my system up to now :).
However SWMgr does now find the modules on win 7 the solution was to set SWORD_PATH. here is the finshed code example for getting the modules with C++/CLI http://bibleworkplace.sourceforge.net/sword2netdoc/sword2net_8cpp_source.html That Code can be used in C# as follows List<string> MySwordModules = new List<string>(); SwordLibray SwordLib = new SwordLibray(); MySwordModules = SwordLib.GetBibleModules("Biblical Texts"); foreach (string SwordModul in MySwordModules) { listBox1.Items.Add(SwordModul); } wolfgang 2010/5/23 Troy A. Griffitts <scr...@crosswire.org>: > Thanks Wolfgang, > > Before you instantiate your SWMgr, you can add a line: > > #include <swlog.h> > ... > SWLog::getSystemLog()->setLogLevel(SWLog::LOG_DEBUG); > > This will cause SWMgr to output details while hunting down modules. > > Hope this helps. Thanks for working toward providing an example to > using SWORD from .net. > > Troy > > > On 05/23/2010 12:34 PM, Wolfgang Schultz wrote: >> Hello Matthew, >> >> there are modules in $HOME/.sword ($HOME being C:/users/username/) >> but SWMgr doesn't find any modules on win 7 >> >> Here is the code from the sword2net wrapper >> >> http://bibleworkplace.sourceforge.net/sword2netdoc/sword2net_8cpp_source.html >> >> I am new in coding c++ so it could be a mistake from me. :-(( >> >> Any ideas? >> >> thx >> wolfgang >> http://www.zefania.de >> >> >> >> >> >> 2010/5/23 Matthew Talbert <ransom1...@gmail.com>: >> >>> It's a complicated search path, but here is at least part of it (from >>> memory): >>> >>> $HOME/.sword ($HOME being C:/users/username/) >>> $HOME/sword >>> current working directory >>> $SWORD_PATH (env variable) >>> $ALLUSERSPROFILE/sword >>> >>> There are a few more, but those are the only ones in use (that I'm aware >>> of). >>> >>> Matthew >>> >>> On Sun, May 23, 2010 at 4:39 AM, Wolfgang Schultz >>> <woschu...@googlemail.com> wrote: >>> >>>> Hello, >>>> >>>> i work on a swordlib wrapper for .NET that should provide basic access >>>> to the sword modules her my first question: >>>> >>>> where does SWMgr automatically search for modules on WIn 7? >>>> >>>> thx >>>> >>>> wolfgang >>>> http://www.zefania.de >>>> http://bibleworkplace.sourceforge.net/ubapidoc/ >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >> _______________________________________________ >> 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 > _______________________________________________ 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