Re: multiplication yield strange results




"Gilles Rosselet" <gilles.rosselet@xxxxxxx> wrote in message
news:1160751505_29@xxxxxxxxxxxxxxxxxxx
Hello,

I call the following bit of code repeatedly during the execution of my
program:

This does not happen always at the same iteration, so I suspect the
problem could be something completely unrelated to this piece of code,
like an unitialized pointer.

Using memProof I have got a lot of error related to VirtuallAloc trying to
reference an invalid address. Could that be relevent?

Well I am completely lost any help apreciated.

maybe, cannot help much without _complete_ code if it is coming from
somewhere random
even then it could need the complete environment settings
[ note: NOT asking for all code, just that if virtualalloc fails..
anything is possible from anywhere with pointers ]

maybe array vars declared near the 'self' overflowing beyond index and
munging the array

never* use your own var 'self' , it has a prior meaning in a method as local
context
which should be resolved by scope but there may be confusion

never* mix 'with' and anything using 'self', never* use 'with'

[* without a very good reason and knowing why you need to and have lots of
time to spare]


.