ive run into a problem that i have no idea how to debug.
malloc is returning NULL on this line:
there is a lot of code before and after, but ive run it through my debugger and when it hits the line that it fails, iFileBufferCounter is equal to 157. last time i checked i had 300+ megs of available memory while the program was running, so i know thats not the problem.Code:scriptString = (char *)malloc( (iFileBufferCounter * sizeof(char)) + 1 );
anyone know of any other possibilities? if you need more info, let me know.
using MSVC++.NET compiler, windows XP pro, p4 2.0, 512 RAM