I m writing a program in VC++ .net 2003.
At a particular function it constantly crashes with
"[Program.exe] has encountered a problem and needs to close..."
The line it specifically crashes on is
"string newCaption = gWndCaption + buffer;"
The only thing strange about the line is that [gWndCaption]
loses the value that was assigned to it at the start.
Any reason why this may happen, or why the program may be crashing each time it hits that line?
Thanks in Advance.
At a particular function it constantly crashes with
"[Program.exe] has encountered a problem and needs to close..."
The line it specifically crashes on is
"string newCaption = gWndCaption + buffer;"
The only thing strange about the line is that [gWndCaption]
loses the value that was assigned to it at the start.
Any reason why this may happen, or why the program may be crashing each time it hits that line?
Thanks in Advance.