This topic describes compiler options that specify whether your application will be compiled with or without stack frames:
Microsoft Visual C++ 6.0
- Open the Project Settings dialog.
- Switch to the C/C++ tabbed page.
- Select Optimizations from the Category box.
- Select Customize from the Optimizations box. This will enable the list box that is displayed below the Optimizations box.
- Find the Frame-Pointer Omission option in the list box.
- Enable this option to compile your application without stack frames. To compile the application with stack frames, uncheck the option.
Borland Delphi
- Open the Project Options dialog.
- Switch to the Compiler page.
- To compile your application with stack frames, check the Stack frames box in the Code Generation section. Uncheck this box to compile your application without stack frames.
Borland C++Builder
- Open the Project Options dialog.
- Switch to the Compiler page.
- To compile your application with stack frames, check the Stack frames box in the Compiling section. Uncheck this box to compile your application without stack frames.
See Also
Possible Problems with the Call Stack
Stack Frames - Compiler Settings for .NET Applications