I'm wanting to iterate through each key in a given module (bible, commentary, 
lexdict). I tried 

...
sword::SWModule *module;
module = this->swordLibrary.getModule(this->selectedModule.c_str());
for(module = sword::TOP; !module->Error(); module++)
...

and I get "error: invalid user-defined conversion from ‘sword::SW_POSITION’ to 
‘sword::SWModule*" on building. So I'm wondering what the best way to go 
through each entry in a module.


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

Reply via email to