SlickEdit Community

SlickEdit Product Discussion => SlickEditĀ® => Slick-CĀ® Macro Programming => Topic started by: cappy2112 on June 20, 2007, 12:47:22 AM

Title: Overrunning stack space in function call
Post by: cappy2112 on June 20, 2007, 12:47:22 AM

Is it possible to overrun the stack by passing too many arguments, or an argument that is too long?

I'm calling the preprocess()  function, but I'm manually pasting in the string, which is about 1200 defines.

In other words, the call to preprocess looks like

preprocess(" -w symbol1=1, symbol2=0 symbol3=1")

but there are at least 1200 symbols (yes, it's a HUUUGE project)

With that in mind, is it possible to blow away the stack when  preprocess() is called, because the argument is so big?