• Your shopping cart is empty!

IP2Location Pascal Library

This library is a Pascal library to support all IP2Location™ database products. It has been optimized for speed and memory utilization. Developers can use this library to query all IP2Location™ binary databases for applications written in Pascal/Delphi.

Installation
  1. Download pascal library ip2location-pascal-x.x.x.zip and sample database sample.bin.dbx.zip.
  2. Unzip the library.
  3. Run the sample code provided inside the zip file.
Sample Codes
#import <Foundation/Foundation.h>
#import <ip2location/IP2Location.h>

int main(int argc, const char * argv[])
{

	@autoreleasepool {
		//open database
		IPLocation *locationDB = [[IPLocation alloc] initWithDataPath: @"data/IP-COUNTRY-SAMPLE.BIN"];

  //set memory cache type
  [locationDB setMemoryType: IP2LOCATION_MEMORY_CACHE];

  //search
  IPLocationRecord *rec =  [locationDB recordWithIP: @"8.8.8.8"];
  NSLog(@"%@", rec.countryShort);
	}
	return 0;
}
Sample IP2Location Databases (BIN)
Sample Packages IPv4 IPV6
IP2Location DB1 Sample BIN File Download (699.14 kB) Download (350.84 kB)
IP2Location DB2 Sample BIN File Download (36.69 MB) Download (378.66 kB)
IP2Location DB3 Sample BIN File Download (19.21 MB) Download (363.65 kB)
IP2Location DB4 Sample BIN File Download (52.74 MB) Download (388.27 kB)
IP2Location DB5 Sample BIN File Download (29.23 MB) Download (370.18 kB)
IP2Location DB6 Sample BIN File Download (62.33 MB) Download (393.44 kB)
IP2Location DB7 Sample BIN File Download (58.63 MB) Download (398.64 kB)
IP2Location DB8 Sample BIN File Download (68.46 MB) Download (403.55 kB)
IP2Location DB9 Sample BIN File Download (33.67 MB) Download (373.45 kB)
IP2Location DB10 Sample BIN File Download (73.72 MB) Download (408.65 kB)
IP2Location DB11 Sample BIN File Download (34.35 MB) Download (374.17 kB)
IP2Location DB12 Sample BIN File Download (74.35 MB) Download (409.59 kB)
IP2Location DB13 Sample BIN File Download (32.95 MB) Download (371.65 kB)
IP2Location DB14 Sample BIN File Download (75.65 MB) Download (410.29 kB)
IP2Location DB15 Sample BIN File Download (37.20 MB) Download (378.07 kB)
IP2Location DB16 Sample BIN File Download (80.20 MB) Download (415.93 kB)
IP2Location DB17 Sample BIN File Download (39.74 MB) Download (380.09 kB)
IP2Location DB18 Sample BIN File Download (87.05 MB) Download (425.95 kB)
IP2Location DB19 Sample BIN File Download (71.15 MB) Download (404.88 kB)
IP2Location DB20 Sample BIN File Download (89.29 MB) Download (427.07 kB)
IP2Location DB21 Sample BIN File Download (40.56 MB) Download (380.72 kB)
IP2Location DB22 Sample BIN File Download (93.23 MB) Download (430.11 kB)
IP2Location DB23 Sample BIN File Download (71.53 MB) Download (405.90 kB)
IP2Location DB24 Sample BIN File Download (94.27 MB) Download (431.79 kB)