home *** CD-ROM | disk | FTP | other *** search
- ObjTool Copyright (c) 1990-1992 Thomas G. Hanlin III
-
-
-
- This is a utility designed to allow you to view or alter object (.OBJ) files.
- It verifies that an object file is intact and uncorrupted. You may display
- the public symbols (such as routines in the file that you may call from
- another program) and external symbols (such as routines that the file needs
- to call on itself). The names of public and external symbols may be changed
- to suit you, which is useful in cases where you have naming conflicts, for
- instance.
-
- ObjTool is protected by copyright. However, it may be distributed as long as
- all files are included in unmodified condition (this includes OBJTOOL.DOC and
- OBJTOOL.EXE). In addition, no files may be added to the OBJTOOL archive.
- This applies specifically to files which contain advertising for BBSes or
- other products or services. I will not allow my programs to be a vehicle for
- electronic junk mail.
-
- If you find ObjTool useful, it would be nice if you register your copy for
- $10.00. This must be payable through a U.S. bank. Registration entitles you
- to receive a disk containing the latest version of ObjTool, complete with
- source code, and a sampler of my other software. Please specify disk size.
-
- ObjTool was written with the TopSpeed Modula-2 compiler.
-
- Registrations may be sent to:
-
- Thomas G. Hanlin III
- 3544 E. Southern Ave. #104
- Mesa, AZ 85204
-
-
-
- The ObjTool command syntax is as follows:
-
- OBJTOOL [options] filename[.OBJ]
-
-
-
- Options must be separated by spaces. They may be abbreviated. The following
- options are available:
-
- /BASIC Screen out BASIC's runtime symbols. This prevents the listing
- of external symbols that refer to the runtime library used by
- QuickBASIC and BASCOM programs.
-
- /EXTERNAL Display external symbol names. These are the names of
- variables and routines that are external to the object file.
- Such names are combined with the final program by LINK, which
- locates them in other object files or libraries.
-
- /FULL Display the module name, external symbols and public symbols.
-
- /HELP Shows a brief help message which lists the available options.
-
- /MODULE Display the module name. This is the internal name of the
- object file, which is usually derived from the name of the
- original source file. This means that you can use this to
- discover which language the object file was written in, by
- looking at the extension of the original source file name.
-
- /PUBLIC Display public symbol names. These are the names of variables
- and routines that the object file is willing to share with the
- outside world. Such names are combined with the final program
- by LINK, which uses them to resolve external symbols required
- by other object files or libraries.
-
- /RENEXT Rename an external symbol. This allows you to change the name
- of an external symbol reference. This is most useful when you
- are using object files for which you do not have the source
- code and have encountered a conflict such that two different
- symbols have been given the same name. You will be prompted
- for the old name and new name.
-
- /RENPUB Rename a public symbol. This allows you to change the name of
- a public symbol. This is most useful when you are using
- object files for which you do not have the source code and
- have encountered a conflict such that two different symbols
- have been given the same name. You will be prompted for the
- old name and new name.
-
- When renaming an external or public symbol, it is wise to keep in mind
- whether the original name was all uppercase, all lowercase, or mixed
- uppercase and lowercase. Some languages expect symbols to be in a particular
- lowercase or uppercase format. For instance, compiled BASIC programs require
- most symbols to be uppercase-only. If you use the wrong convention, the
- symbol may become inaccessible.
-
- Note that libraries (.LIB files) are nothing more than collections of object
- files. By using the LIB utility, you can extract an object file from the
- library, view it or alter it with ObjTool, then put it back into the library.
- See your reference manual for further information, or type LIB /HELP for a
- brief option listing. The LIB utility is included with most Microsoft
- languages.
-