antonio_lioy wrote:
[...]
> Every time I call "mLengths->setValue((mNumPoints-1)*2,0);" the application 
> crashes with a memory error.
> It seems that mLengths points to NULL...

Hi Antonio,

Maybe you forgot the appropiate resize() statement for mLengths?
Could not find it in your code snippet.

if (mNumPoints > 1)
{
        if (mLengths->size() == 0) mLengths->resize(1);
        mLengths->setValue((mNumPoints-1)*2,0);
}

Moritz

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to