>>>>Mark,
>>>>
>>>>I forgot to give you the constant values:
>>>>#define ODBC_ADD_DSN 1
>>>>#define ODBC_CONFIG_DSN 2
>>>>#define ODBC_REMOVE_DSN 3
>>>>#define ODBC_ADD_SYS_DSN 4
>>>>#define ODBC_CONFIG_SYS_DSN 5
>>>>#define ODBC_REMOVE_SYS_DSN 6
>>>>#define ODBC_REMOVE_DEFAULT_DSN 7
>>>>hth,
>>>
>>>Where did you find these? Visual C .h file? Or do we just assume the order they are in would be there numeric value as well?
>>
>>The file was ODBCInst.h on one of the MSDN disks.
>
>Thanks. I am still trying to figure out the search capabilities on this CD. Still haven't figured out how to search for a file mask (*.h). But I did find the info via the Query tool.
Just just use the file Find option and search the header files for the text. In this case it was the first value.
George
Ubi caritas et amor, deus ibi est