Hi Wendy,
these errors only occur when it is in release version.
My settings: -
COde Generation:
- Compatibility with: VisualC/C++
- Default calling convention: __cdecl
- max stack size: 250000
- image base address: x00400000
Debugging Options;
- debugging level: standard
- detect uninitialized local variables at run-time: checked
Previously about few months back, when i was in the initial stages of my project, i tried the release version to see if it coud work but failed with the above errors no matter what i did. I thought of finding out these problems later so i reverted back to debugging version to continue my project. But upon completion of my project, when i tried release version, it works so i thought maybe it was some problems in my earlier codes.
This problem does not only happen on my PC but on others as well. It's a pretty random thing i think, sometimes when i rebuilt using release version on another pc, it works but not on mine and vice versa.
But yesterday, when i made changes to the code, the release version couldn't be created and the above errors appeared again!! Tried rebuilding the whole project, closing and reopen the program, rebooting the pc but to no avail. So i thought i should ask to find out the reason for this weird behaviour. Later on in the day, i tried it on another pc and it works real fine. Weird......
This morning, i tried your suggestion of deleting the build files, etc... and it works on my pc too. Thought i tried it yesterday as well but i'm not too sure myself. I can't seem to recreate the error again. Any particular idea why this happens??
Maybe later in the day, if the error occurs again, i'll let you know.
But anyway, thanks for the help. really appreciate your help and promptness.
Cheers
AL