> ///////////////
> SWModule *SWMgr::CreateMod(...) {
> ...
> if (pos == 1)  // pos didn't get defined
> ///////////////
>
> Am I doing something wrong or missing a step?
>

Actually, it looks like vc7.1 in debug mode detects that pos was never
initialized and (somehow or other) causes a run-time exception.
(pretty smart compiler <g>)

Diatheke and lookup compile, link, and run when the line
int pos;
is changed to
int pos = 0; // anything but 1


_______________________________________________
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