I am using SQLConfigDataSource
to create an ODBC MS Access data source programmatically. It works most of the time, but fails if the DBQ value (i.e., path to the Access database) in the lpszAttributes
string contains more than 148 characters (far fewer than MAX_PATH).
Has anyone ever run into this before? Any possible workarounds?