home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d162
/
cli_utilities
/
pwfix
/
readme
< prev
Wrap
Text File
|
1988-10-02
|
2KB
|
39 lines
USAGE: PWFix <Power Windows Filename>
Power Windows V1.3, wonderful program that it is, makes several
incorrect type declarations within the structures it writes for
compilation under Manx.
BorderVectors is defined as USHORT and should be SHORT
By default, the text pointer in an IntuiText structure
is defined as BYTE * and should be UBYTE *
The same is also true of the text pointer to the window
name in a NewWindow structure.
So far these are the only noted problems, though there may be more.
(I haven't generated anything extremely complicated with Power
Windows yet.) Left untreated, these incorrect declarations, cause
great aggravation in the form of a humongous compiler warning list.
Crude, but effective, this program reads the source code file
generated by Power Windows; through "casting" corrects the
troublesome buggers and writes out a corrected file with a .pwfix
suffix in the same directory.
If you plan on modifying the Power Windows source code (putting
things on the same line, etc.), I suggest you do so after running
PWfix on it, as its relies heavily on the line structure of the
code to accomplish its goals.
If you find other problems or modify this code substantially, please
drop a hardcopy of your new source code listing in the mail to:
Dan Fish
7293 W. Desert Cove #95
Peoria, Az.
85345