WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

IP Grabber

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

!!NEWS FLASH!!

 Keywords: IP Grabber extenders updates new features   

Note: The IP Grabber extender requires the current version of 
      WinSock 2 to function properly, or else it will get an error 
      on the AddExtender line.  Windows 95 with no service packs 
      will not work and requires an update from 

      http://www.microsoft.com

      Enter…

      Windows Socket 2 Update

      in the search box to locate the update.
      Windows 98 does NOT need this update. 
      Windows 95 with SP1 does NOT need this update. 
      Windows NT 4.0 and Windows 2000 do NOT need this update.

      However we have found that NT 4.0 needs SP3 or it does 
      not work.

      The new MAC Address grabber functions use the same SNMP traps that Windows
      uses when you run the netstat command. Hence, it operates a layer or two
      below the WMI interface, and will run on machines that don't have a
      working WMI installation.

IP Grabber Extender Installation:

    Run the SETUP.WBT file to install the extender for you.



IP GRABBER EXTENDER 

FIXES AND IMPROVEMENTS

Version 14001, Jan 17, 2000
    Initial release

    Functions

    ipVersion(request code)  
        Returns extender version number information

    ipGetLastErr()
        Returns last runtime error number


    ipGetAddress()
        Returns a doubly-delimited list of all IP addresses found
        along with other related information.

Version 14002, Apr 20, 2000

    Added functions

      ipPing
      ipHost2Addr
      ipAddr2Host


Version 14005  Dec 12, 2000

   The IP Grabber extender has been updated to a new format
   to allow more descriptive function names and additional 
   parameters.  This version of the extender requires
   WinBatch 2001A or newer to run.  
   It will not work on WinBatch 2000C or older.

   In addition, so as not to affect existing scripts using a
   previous version of this extender, the extender DLL has been 
   renamed to include a 34I in the DLL name instead of a 32I.  
   Old and new versions of this extender can *usually* co-exist 
   side by side.

   To use the new extender with old scripts and with 
   WinBatch 2001A or newer you will need to change the AddExtender 
   line in the script to reflect the new DLL name.
   e.g.
      AddExtender("wwipg32i.dll")
   should become
      AddExtender("wwipg34i.dll")

Version 14006  Dec 4, 2001

   Fixed a small bug where the ipGetLastError function did not return
   the correct error code.

Version 44010  June 10, 2009

    The IP Grabber extender has been updated to use the "44I" interface
    specifications. This was done to allow access to the improved interface for
    returning arrays to WIL. Although currently unused, this capability opens
    the possibility of further improving the extender to return lists as arrays,
    rather than delimited strings.

    WinBatch 2004F or newer is required to use this version of the IP Grabber
    extender. Please update all scripts' calls to AddExtender() to refer to
    "wwipg44i.DLL" instead of "wwipg34i.DLL".

    New functions

      ipMacAddrFirstRaw
          Returns the MAC address of the first Ethernet adapter, as a raw string
          of hexadecimal numbers. The returned string always contains exactly 12
          characters.

      ipMacAddrAllRaw
          Returns a TAB delimited list of MAC address of all Ethernet adapters,
          as strings of hexadecimal numbers. The TAB delimited list is formatted
          so that the Item functions (ItemCount, ItemExtract, and ItemRemove)
          work correctly. Each substring always contains exactly 12 characters.

      ipMacAddrFirstFmt
          Returns the MAC address of the first Ethernet adapter, as a formatted
          string of hexadecimal numbers. The returned string always contains
          exactly 17 characters.

      ipMacAddrAllFmt
          Returns a TAB delimited list of MAC address of all Ethernet adapters,
          as strings of hexadecimal numbers. The TAB delimited list is formatted
          so that the Item functions (ItemCount, ItemExtract, and ItemRemove)
          work correctly. Each substring always contains exactly 17 characters.

    Bug Fixes and Miscellaneous Improvements

    1) Fixed a small bug where the ipVersion function required a completely
       unused argument, to match its signature in the Command Extension Table.
       As demonstrated in the included test scripts, it is now possible to call
       ipVersion() without any arguments, as is the case with the comparable
       function defined in all other extenders.

    2) Fixed typographical errors in a couple of error messages.

    3) Moved several large blocks of data from the stack frame to the local
       heap, to reduce the stack footprint of the associated functions.

Version 44011  september 07, 2011
   Fix system error number reporting problem in the ipPing function.

   Rewrote the implementation of the ipMacAddrFirstRaw, ipMacAddrAllRaw,
   ipMacAddrFirstFmt, and ipMacAddrAllFmt functions to address numerous issues.
   
   Ported extender to 64-bit.

Article ID:   W17580
Filename:   !!NEWS FLASH!! .txt
File Created: 2011:09:14:12:51:34
Last Updated: 2011:09:14:12:51:34