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

ArticlesNew Micro Focus Tool Converts COBOL into Components


December 1995 / News & Views / New Micro Focus Tool Converts COBOL into Components
Rick Grehan

I am now convinced that my great-grandchildren, should they choose to become programmers, will at least encounter -- and may possibly use -- some recognizable descendant of COBOL. Micro Focus ((800) 872-6265 or (415) 856-4161, or contact http://www.mfltd.co.uk/win95.html on the Internet) has helped ensure COBOL's long life with its new Visual Object COBOL for Windows 95 . This $499 product brings interesting OLE Automation capabilities to legacy COBOL code. From one who does most of his work in C and C++: I am impressed.

I've already written about ANSI's efforts to bring about an object-oriented COB OL (see "Object-Oriented COBOL," September 1994 BYTE). Micro Focus's object COBOL is a "snapshot" of the draft standard, which is not slated for adoption until 1997. With Visual Object COBOL, Micro Focus has inserted its object COBOL compiler into an integrated development environment. And its IDE looks as robust as many I've seen elsewhere.

One intriguing capability of this product is its support for OLE Automation. You can use Visual Object COBOL to write a program that can control other programs with OLE Automation server capabilities (e.g., Excel). More intriguing: You can use Visual Object COBOL to convert COBOL programs into OLE Automation servers. This means you can bring business logic that's currently written in COBOL into the new world of OLE and componentware.

Visual Object COBOL for Windows 95 will produce 32-bit executables. It can also generate multithreaded applications. Objects within Visual Object COBOL support inheritance (albeit single inheritance), polymorphism, and late bind ing.

When I first considered that last fact, I guessed that Object COBOL used late binding only because the syntactical changes necessary for early-binding support would be horrendous. However, Gary Crook, Visual Object COBOL's project development manager, pointed out that late binding is actually an advantage with large-scale development projects. If you make an alteration to an object's method that's early-bound, it's likely you'll have to recompile the entire application. With late-bound methods, you need only recompile the module that's been altered.

Visual Object COBOL arrives with an extensive class library that supports (among other things) all the significant Windows GUI objects: dialog boxes, push buttons, scroll bars, and other controls. What's missing (and what I anticipate in an upcoming release) is a visual builder extension to the IDE that lets you drag and drop your controls into place and automatically backfills your project files with COBOL source code (à la Visual Basic) .


Micro Focus Has Broad View

screen_link (35 Kbytes)

Micro Focus's Visual Object COBOL includes an integrated development environment that includes a class browser and an editor.


Up to the News & Views section contentsGo to previous article: Memory Price Relief to Come in Late 1996Go to next article: Swiss Army Knife for Data ReplicationSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM   Copyright 
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