Your second post suggested the lookup file was INI like so I assumed this. My code assumes that an @address value will only occur once in the file & it will appear under 1 of 3 different lists. If these assumptions are incorrect the logic may need to be modified. I assume an INI file something like this:
code:
[movex]
add1=value1 (i.e value1=0002A5BE048D0=an address)
add2=value2
etc
[Desktop]
add1=value3
add2=value4
etc
[Internet Explorer]
add1=value5
add2=value6
etc
All the "values" are assumpted to be unique. As written it does not have to be in exactly INI format. It just needs all the possible address divided into 3 lists headed by app name.
Note: I assume that "movex", "Desktop", & "Internet Explorer" will only occur once in the file & they must be at the top of each address list. This seemed to be the format you initially proposed.
[ 12. April 2003, 18:01: Message edited by: Jack Lothian ]
_________________________
Jack