If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hi, you have to increase the array size in your code. Array value will start from 0 , if you define char buffer[3] then only 0,1,2 are accessible you cannot access buffer[4] because you defined only 3 values.

VS .NET detects errors which are not detected by previous versions. However, sometimes such errors do not crash the program. For example, code fragment shown by matze42, may be executed corectly, if another variable on the stack is overritten, and program does not use the variable after this.
Try to comment off different part of the function and execute it, to find code line which causes this message. If you still has problems, post code fragments here.

Hi, you have to increase the array size in your code. Array value will start from 0 , if you define char buffer[3] then only 0,1,2 are accessible you cannot access buffer[4] because you defined only 3 values.