Hi everybody,
Perhaps a simple question but, i would like to suggest it o you:
In my application, i have an "access violation" message which appear to this following line:
*(pHistoDBNorm+ j- *(pInflex+i)- *pInflex), when i=0 and j=16, just with this indications, you will tell me to check if th e allocation is well done, but the problem is if i remove *(pInflex+i)- *pInflex (which is equal to 0), in the debug window, the following
*(pHistoDBNorm+ j) is evaluated correctly whereas
*(pHistoDBNorm+ j- *(pInflex+i)- *pInflex), always in the debug window couldn't be evaluated (instead of reading a value which would have to be the same than *(pHistoDBNorm+ j), i could read something like that:"expression couldn't be read..."
why??????
thanks in advance
jayjay
Perhaps a simple question but, i would like to suggest it o you:
In my application, i have an "access violation" message which appear to this following line:
*(pHistoDBNorm+ j- *(pInflex+i)- *pInflex), when i=0 and j=16, just with this indications, you will tell me to check if th e allocation is well done, but the problem is if i remove *(pInflex+i)- *pInflex (which is equal to 0), in the debug window, the following
*(pHistoDBNorm+ j) is evaluated correctly whereas
*(pHistoDBNorm+ j- *(pInflex+i)- *pInflex), always in the debug window couldn't be evaluated (instead of reading a value which would have to be the same than *(pHistoDBNorm+ j), i could read something like that:"expression couldn't be read..."
why??????
thanks in advance
jayjay