TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Kevin Ring
from: Mike Bilow
date: 1996-04-01 01:13:52
subject: MFC?

Kevin Ring wrote in a message to All:

 KR> My questions are: Is there anything like MFC for OS/2?

Borland makes OWL, which comes in a Windows version with their Windows
compiler and in an OS/2 version with their OS/2 compiler.  There are now
version differences, and the long term future of OWL for OS/2 is doubtful.

IBM is introducing OpenClass, which is an application framework for OS/2
and Windows 32-bit, but which does not support Windows 16-bit.  It is very
new, but seems powerful at first glance.

There are several cross-platform third-party user interface libraries,
including XVT, zApp, and Galaxy.  These are expensive, costing many
hundreds or even thousands of dollars.

There is a freeware product issued under the auspices of the University of
South Carolina known as Yet Another Class Library (YACL).  It provides a
user interface framework for Windows, OS/2 and X/Windows.

 KR> Will anything I'm learning now be transferable to OS/2 
 KR> programming?

Probably not.  MFC is a disaster, even for Windows.  MFC doesn't even
provide correct portability between Windows 16-bit and Windows 32-bit. 
Borland's OWL goes quite far to make sure you get that kind of portability,
even emulating Windows 95 common controls on Windows 3.1 if necessary.

 KR> Will DAPI convert my MFC programs to OS/2 native apps?

Since MFC makes Windows apps, and DAPIE assists in migrating Windows apps
to OS/2, you would probably find DAPIE to be of some value.

 KR> I *have* to write Win95 apps, but it would be really great if 
 KR> learning Win95 programming now would make OS/2 programming 
 KR> later much easier.  I would hate to be putting so much effort 
 KR> into skills that are stuck in such a pathetic OS. 

My advice is to look at MFC as throwaway effort, worth only what you are
being paid to use it.  It is not an especially friendly tool, it tends to
be incompatible with itself from one version to the next, and has a number
of features which simply do not work.  You will also find that many
otherwise simple tasks require you to use the Windows API directly, since
MFC is a rather thing wrapper around the native Windows API.
 
-- Mike


--- 
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 323/107 170/400 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.