Developers Must Play by Vistas Rules

Developers Must Play by Vistas Rules

Written By
Peter Coffee
Peter Coffee
Nov 26, 2006
2 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

There are detailed guidelines that developers can follow to assure their compatibility with Microsofts forthcoming Windows Vista. Many of those instructions can usefully be condensed to one simple statement: This operating system is large and in charge.

PC programmers have spent two decades developing bad habits along with their clever applications. The PCs first decade gave developers direct access to hardware, a difficult habit to break; the second decade gave them nearly as free a rein with a better-managed but still single-user machine, on which the user almost always had administrator powers.

/zimages/6/156809.jpg

At Microsofts Los Angeles developer conference in September 2005, Microsoft engineer Robert Villahermosa showed a series of charts with the memorable title “Top Five Ways to Ensure Your Application Will Be Incompatible.” The specifics of his warnings included respecting the Windows registry—applications must no longer treat it as a “private playground,” Villahermosa said—and respecting the operating systems role in maintaining knowledge and control of system configuration.

Developers must learn, for example, Vistas new conventions for interrogating hardware to avoid confusing the parameters of a virtual machine with the real machinery behind it.

/zimages/6/28571.gifClick hereto read eWEEK Labs review of Vista.

Villahermosa also warned against any hard-coding of file or directory locations, and against the placement of application data in the directory that contains the applications executable code.

In addition, Vista applications must anticipate their possible use on machines with multiple users who maintain different application customization settings and separate histories of state. This also applies to applications running on Windows XP, but developers have been able to get away with being casual about this practice because most XP systems have been running with administrator privileges all the time. User expectations for good behavior will rise as Vista shifts the center of mass from administrator accounts to standard user accounts.

Learning to live within those limits seems likely to be the submerged nine-tenths of the iceberg of potential compatibility issues with Vista. eWEEK Labs has watched a family spend the last year in an XP environment under a discipline of user accounts for everyone, including Dad, except when installing applications or performing software updates. The resulting catalog of failure modes has been long and astonishing, including such weirdness as refusing to display correct application-specific fonts unless administrator powers were provided.

Readers of eWEEK have also reported to us such outrageous episodes as applications that merely print courier service mailing labels but that “absolutely, positively” wont run except in an administrator account. In the Vista regime, that absolutely, positively will not do.

Technology Editor Peter Coffee can be reached at peter_coffee@ziffdavis.com.

/zimages/6/28571.gifCheck out eWEEK.coms for Microsoft and Windows news, views and analysis.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.