Demographics Library Functions - demographics_library - Latest

Demographics Library Reference for Windows and UNIX

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Demographics Library
Version
Latest
ft:locale
en-US
Product name
Demographics Library
ft:title
Demographics Library Reference for Windows and UNIX
Copyright
2024
First publish date
1994
ft:lastEdition
2025-10-14
ft:lastPublication
2025-10-14T21:16:32.399000
L1_Product_Gateway
L2_Product_Segment
L3_Product_Brand
L4_Investment_Segment
L5_Product_Group
L6_Product_Name

The Demographics Library functions all use a common internal data structure that is initialized with a call to D1Init. This function returns a handle, D1Id, which is then passed to other Demographics Library functions. A handle is a token that lets a program access some resource, usually a file or a location within a file. Other Demographics Library functions that return handles are DlFileOpen, DlFieldGet, and DlFieldGetN. Upon completion of the Demographics Library session, a call to DlTerm frees the memory allocated by DlInit and closes all files used by Demographics Library. After a call to DlTerm, any handles that were returned by the Demographics Library are now invalid.