Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesWind/U Opens Windows to Unix


March 1996 / Reviews / Windows-Built for Unix Power / Wind/U Opens Windows to Unix

Porting a Windows application to Unix is never fun. Core code is usually easy to port because commercial Windows C++ compilers have Unix-compatible functions in their standard libraries. What takes time is translating user-interface code from Windows to Motif, a process made more challenging the more you use low-level calls to the Windows API.

Facing this challenge when it developed PowerBuilder for Unix, PowerSoft turned to Bristol Technology's Wind/U, a suite of tools that makes Windows-to-Unix porting laughably easy. Put simply, Wind/U delivers the functions of the Windows API to Unix developers.

With Wind/U, virtually everything you create in the Windows development environment of your choice simply "walks" over to Unix and runs after a recompile . Wind/U's not an emulator; all its functions are native Unix and native OSF/Motif. Its Motif approximations of standard Windows elements like common dialog boxes are perfect. They're recognizably Motif in their appearance, but the layout is Windows.

HyperHelp, another Bristol module included in PowerBuilder for Unix, compiles Standard Generalized Markup Language (SGML) or Rich Text Format (RTF) definition files into Windows-style .HLP files. This lets you maintain one set of on-line docu-mentation for a multitargeted app and also take advantage of HyperHelp's hypertext viewer, which is better than any Unix help system we've seen.

Bristol's XPrinter module simplifies the task of getting data from an application to a printer. Unix developers well know how hard it can be to "talk" to a printer. XPrinter provides the hooks that create a very elegant Windows-like connection between your application and your printer.

Of the 1.5 million lines of C/C++ code in PowerBuilder, PowerSoft says it had to modify only 3 to 6 percent for the Windows-to-Unix port--an astonishingly low number. The upshot is that one person can handle the porting work for an application that may have taken a building-full of engineers to create.


Windows-Unix Negotiator

illustration_link (5 Kbytes)

PowerBuilder recompiles Windows apps in Unix and links them to Bristol Technology's Wind/U library to generate native Motif code. This maintains identical functionality between Windows and Motif versions.


Up to the Reviews section contentsGo to previous article: Wind/U Opens Windows to UnixGo to next article: Smart Forms for the EnterpriseSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network