Solutions Software Winner.txt for Winner.exe 1.07.167 6/20/93 Updated for March Release Runs on Win32s Should run on Final Read this file from Winner. Remarks 1. This program owes much to various Microsoft sample programs from the SDK, C\C++ 7.0, NT, etc. 2. This program has been built and changed by several people internally, for their own use, and should not be taken as an example of good programming practice, nor do we contend any such notion. 3. The program is designed to be a small, simple, easy to use editor for small modules and programs, and lacks many features, like context sensitive help, which are common on more sophisticated editors. Some features, like automatic indentation are hard coded. These of course can be changed by the programmer. The source code is provided so that you may alter the program to your needs and preferences. We have also incuded the source for the help file now. Don't look for sophisticated things like comments. :) 4. Only enough has been done during the port to get the program running under NT for our own use, and should not be construed as a guide on how to port 3.x programs to NT, or write NT programs. 5. The program included is an optimized product without debug code. You may want to recompile. 6. This program is not properly device independent, is used only on VGA here, you may want to modify. 7. Compile, Build, Buildall, and Clean are run through the Winner.bat file for easy modification of parameters. 8. This program will now run on Windows 3.1 with the Win32s. It has run on 404, 38, and 75. Should be ok on the final, 9. There has been additions to change editor fonts and face colors, background colors, save settings, and to do Word Wrap. This last feature has not been added to the help file yet, but is there and working. 10. There have been things added to run programs, delete files, launch the debugger. 11. Alignment in columns on the printout are still not right, please excuse this problem. 12 No claims are made for this program, and we make the normal disclaimers of liability. Instructions The program currently expects Winner.exe and Winner.bat to be in your path. We have them in c:\Winnt\System32. The program currently expects the msc.hlp and api32wh.hlp files in your path. We have them in c:\mstools\bin. The same goes the Win16 help file if you want to include it. And of course Winner.hlp. Put it in WINNT. The program currently expects makefiles with the name MAKEFILE. To build a project or compile, load any source file into the editor, and click the appropriate button. The compiler is currently set to build Help files. See the Help file for how to use. This can be changed, like all the rest, by editing the WINNER.BAT file. You can cut and paste with the right mouse button. Highlight and click once to cut, click twice to copy. If no text is highlighted and the right button is clicked, the contents of the clipboard are pasted at the current location. Most things are explained in the help file if you need any help with any of the functions. NOTE: There is a editable ini file for this program. It holds configuration data for multiple users and multiple programs. It therefore must be named different from normal ini files and is called SOLUTION.INI. It is in WINNT. It will show up the first time time you do a SAVE SETTINGS from WINNER, or run and then close TRASH or WINDESK. Philosophy/design/zen/etc. Though OLE 2.0 will probably proclude such use in most programs, check out the all mouse cut and paste. Examine the find\next\replace button usage on the button bar instead of putting a dialog where you need to see things. See if you like the idea of opening a separate windows for each document without all the extra title and scroll bars of MDI. The program launches the compiler, nmake, hc31, etc. through WINNER.BAT to make things configurable by the user. This had several side benefits. It makes the program multi-thread, you can do multiple builds at once, and it runs on Win32s. The program is designed around three work cycles. The first I use is to have a BASIC.C program of each type that I copy to a new directory, and rename all the files. I then use the ALL button (replace all) to rename all references to BASIC in the files with the new name. BASIC.C becomes NEWPROG.C and BasicWclass and BasicMenu becomes NewProgWclass and NewProgMenu. The second is my heavy use of opening the second window, loading a sample or one of my programs to cut pieces from, and then paste these pieces into the current project in the first window. (cheap object oriented programming) The third is to use of the modify\build\run\modify\build\run cycle. Everybody knows this. Soapbox: I feel that since Microsoft gave these programming tools away for free, we should return the favor. As a results these programs are freeware, and we include the source code to encourage others to do the same. If everybody throws up one program, even a small utility, and includes the source, we will build up quite a library. In the same vain I think Microsoft should put this version of the SDK in the public domain, and make their money from fancy things like Application Studio and Visual Basic, and encourage public domain software. This would do it. Off Soapbox. If you have suggestions, bug reports, or wish to philosophize, I am 70621,1521 at Compuserve and schrockk at Delphi.