WINVERSN 1.0 Modifies the Expected Windows Version for an EXE or DLL Copyright (c) 1993 Todd T. Snoddy. All rights reserved. --------------------------------------------------------------------------- WINVERSN is a program that I developed to allow me to easily change the expected Windows version number for a Windows EXE or DLL. The expected Windows version number is a 16 bit value that is stored in the EXE or DLL header which specifies what version of Windows is required to run the file. This version is usually set from the .DEF file of a C program, but because I do most of my Windows programming in Borland's Turbo Pascal for Windows, I couldn't find an easy way to set this, although it's possible that I overlooked something. Once a program is compiled, this version number can't be easily changed without a utility like WINVERSN or recompiling. WINVERSN can be run from both DOS and Windows. The DOS version can be executed from a batch or make file, and returns an errorlevel that can be used. If wildcards are used for the filename, the errorlevel will be the total number of files found meeting the wildcard specification. If no wildcards are used, the errorlevel will be the current version of the file. To use the Windows version, select the file that you want to view or change, and the current version of the file will be displayed in the radio buttons. If you want to change the version of the file, select the radio button for the Windows version that you want the file to be set to, and then select the update button. That's all there is to it. The DOS version of the program was written in Borland's C++ 3.1, and the Windows version was written in Borland's Turbo Pascal for Windows 1.5. If you would like the full source code, it is available for $10.00 plus $5.00 to cover shipping and handling. Since I'm currently in the U.S. Army, my address is always subject to change, so you may want to contact me via email before regular mail if you would like the source code or have any problems or suggestions. My email addresses are: Compuserve: 71044,1653 America Online: TSnoddy Internet: tsnoddy@nyx.cs.du.edu My current home address as of June 1993 is: Todd T. Snoddy 220 Summit Ave. Manhattan KS 66502 Last, but not least, is the usual disclaimer and copyright notice. Although I have tried to insure that this software is as bug free as possible, I don't have the resources to try it out with every type of hardware and software. You use this program at your own risk, and I will not be held liable for any damages or other problems that may occur by using or not using this software. If you do find any lurking bugs, please let me know so that I can stamp them out. This software is copyright (c) 1993 by Todd T. Snoddy. Use of this program for its intended purpose is free of charge and it may be distributed freely as well.