Using version 5.00.8 (Win64), on Vista SP1 x64 compiling a 64-bit DLL.
I've just spent 30 minutes looking for a bug in my program and what i found was this:
unsigned num;
num = 0;
for (i = 1; i <= some_maximum; i++) {
num++;
// other things happen here - not touching num
}
The error was that num was always set to one (1), no matter what - and it shouldn't.
The solution looked like this:
unsigned num;
num = 0;
for (i = 1; i <= some_maximum; i++) {
num = num + 1;
// other things happen here - not touching num
}
Just that one line was changed, and my problem was solved.
I won't post more of the code here - but if Pelle is interested in this problem I can PM it to you.