Crash on ofstream declaration...
I'm making a sort of I/O wrapper for a larger project, but all of a sudden this crash has appeared. I have narrowed it down to this line:
Not very elaborate, eh?
The thing is, this line was called a few times before, and worked fine. But after a certain amount of times, if crashes with this message:
"Unhandled exception at 0x76b8b727 in fileconvert.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0035f2c0.."
And it directs me to line 376 in 'mlock.c'. I have done extensive debugging and can't find the problem. Can anyone point me in the right direction?