A SERVICE OF

logo

If you get any compiler errors or warning messages when you compile
your code, correct the problems and recompile. Once your code compiles
cleanly you are ready to move on to converting your code to,
ObjectWindows 2.0.
OWLCVT is a command-line tool you can use to convert your existing
OWLCVT
ObjectWindows 1.0 code to use the new ObjectWindows 2.0 class libraries.
conversions
It performs a number of conversions on your ObjectWindows 1.0-
compatible source and header files:
Makes backup copies of any original source or header files that are
modified by OWLCVT. See the section “Backing up your old source
files.”
Changes the event-handling mechanism from DDVTs to event response
tables. See page 361.
Changes calls to the TWindowsObject/TWindow hierarchy to calls to the
TWindow/TFrameWindow hierarchy See page 368..
P eserves calls to native Windows API functions. See page 370.r
Includes the appropriate header files for ObjectWindows 2.0 resources.
See page 372.
Includes the appropriate header files for ObjectWindows 2.0 source. See
page 371.
Replaces calls to DefWndP oc, DefCommandP oc, DefChildP oc, andr r r
DefNotificationP oc with a call to the function DefaultP ocessing. Seer r
page 382.
OWLCVT also inserts comments in your code when it encounters a
questionable construct that you might need to modify Y u should look for. o
these messages in your converted source files.
The command-line syntax for OWLCVT is:
OWLCVT
OWLCVT [
options
]
file1
[
file2
[
file3
[...]]]
command-line
syntax
where filen is one or more ObjectWindows 1.0 source code files and options
is one or more command-line compiler options. OWLCVT accepts all
regular command-line compiler (BCC.EXE) options. This lets you use any
of your old command scripts, makefiles, configuration files, and so on
when converting. Only a few of these options have any functional effect on
OWLCVT itself, but some options cause macros to be defined in the
Borland C++ header files, so you should continue to use the same option
sets for converting your files that you used to compile them.
356
OWL P ogrammer’ Guider s