devxlogo

Reduce the Size of Your App or DLL By Resetting the Linker Optimization Option

Reduce the Size of Your App or DLL By Resetting the Linker Optimization Option

If you are using MS Visual C++ to develop your application or DLL, then this may help.
MS Visual C++ 6.0 introduces new linker optimization options: /OPT:WIN98, which is set by default. It sets the file alignment at 4K instead of the previous 512 bytes. This makes your application module size bigger. You can change that default to the original 512-byte alignment by using the

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist