devxlogo

Lost Long File Names?

Never, never, never assume that a given API call or control/OCXworks the same under Win95 and Windows NT. For example, the 32-bitfile common dialog handles long file names, right? Well, it doesin Win95, but under NT 3.51, long file names/directory names showup as short names if that name contains an embedded space. Thesolution? If your program needs to run on both platforms, checkfor the operating system in your code. If it is Win95, use thecommon dialog. If it is NT, call your own form that imitates thecommon dialog (the DirListBox and FileListBox show long filenameswith embedded spaces just fine). Or, just tell your users to waitfor NT 4.0.

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.