winzip icon

New API Viewer 1.0.3 (Final)

Submitted on: 2/17/2015 11:09:00 AM
By: David Ross Goben (from psc cd)  
Level: Advanced
User Rating: By 35 Users
Compatibility: VB 6.0
Views: 8057
     Updated to feature a binary-embedded Manifest and allowed constant lookups to be interactive. This Add-In is a working replacement for the API Viewer that comes with VB6. The New API Viewer comes as a stand-alone executable and as an Add-In to the Visual Basic 6 IDE. Additional features in the New API Viewer that are not in the standard API Viewer: * It gives you the ability to declare dynamically constants as Long in the selected local copy of a constant. This allows the user to keep program speed optimal by not slowing down for variant conversions. Although constants can be of types other than Long, the VB6 API interface uses only Long Integer values for its constants. * It gives you the ability to create new constants right within the viewer. Assigned values are expected to be numeric, as is required by the VB6 API interface, but the values can be declared as hexadecimal, octal, or binary. You can also apply + or - offsets. Constants are created as all-capitals. No complex checks are performed on the value. It simply assumes that you know what you are doing, because such checks can involve complex offsets and naming of other constants. The viewer will also check to ensure that the newly entered constant does not already exist. * It gives you the ability to create new API Declarations right within the viewer and add them to your API list. * It gives you the ability to create new User-Defined Types right within the viewer and add them to your API list. * It gives you the ability to create new Enumerations right within the viewer and add them to your API list. * You can Delete entries from the API list. * It gives you the ability to edit Declared Subroutine and Function parameter lists, and apply these changes to new subroutine or function names (for example, saving a modified version of SendMessage to SendMessageByNum, after changing the lParam as Any to ByVal lParam As Long). The built-in Declaration Editor makes such changes a breeze with just a few clicks of the mouse. * It automatic checks for new parameter dependencies. If an added declaration or user-defined type requires another user-defined type not included in the selection list, you can view the requested types in a dialog and select them or reject them for inclusion in your selection list. This can make resolving declaration headaches such as with the complicated AccessCheck Function, which requires the additional inclusion of the GENERIC_MAPPING, PRIVILAGE_SET, and SECURITY_DESCRIPTOR types. These additional types in turn require the ACL and LUID_AND_ATTRIBUTES types. These newer types in turn also require the LUID type. The New API Viewer makes farming these additional types a breeze with a few quick clicks of the mouse. * Additions created within the New API Viewer can be optionally saved for later re-used in the API data file. New entries are appended to the API file with a date- and time-stamp marker. * It immediate displays updates when you toggle between Private and Public declaration options, define parameters as arrays or fixed-length strings, change a return type, or change the referencing verb (ByRef/ByVal or None). * It includes a copy of and richly expanded freeware API32.TXT by Dan Appleman (president of Desaware, Inc.), which he had derived from the original Win32API.TXT file. On top of that, I have also included several thousand new Constants, Declarations, and Type declarations.

winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net

Other 14 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

 There are no comments on this submission.

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.