[sword-devel] SWMgr Class Reference
Troy A. Griffitts
scribe at crosswire.org
Sun May 23 13:06:33 MST 2010
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 <ransom1982 at 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
>> <woschultz at 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 at 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 at 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 at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
More information about the sword-devel
mailing list