Dear guys
I’ve written a program to display bezier surfaces with various renderers.
Visual C 6.0 compiles with no errors. But I get this runtime error:
Loaded ‘C:\Prac2\SDL.dll’, no matching symbolic information found.
First-chance exception in Prac2.exe: 0xC00000FD: Stack Overflow.------
I step through my code and find that it stack overflows (stops program
execution) right after entry to:
int main( int argc, char* argv[] )
{
__alloca_probe:
00407070 push ecx
00407071 cmp eax,1000h
00407076 lea ecx,[esp+8]
0040707A jb __alloca_probe+20h (00407090)
0040707C sub ecx,1000h
00407082 sub eax,1000h
00407087 test dword ptr [ecx],eax <-- debugger stops at!