devxlogo

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

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  How Engineering Leaders Spot Weak Proposals

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.