I load the odbccp32.dll from System32
and even tried to use from SysWow64
. I use SQLConfigDataSource
function to configure my System DSN f
Only 64-bit applications can configure a 64-bit datasource using SQLConfigDataSource
. If you application is targeting 32-bit Windows, it will modify the 32-bit data sources when calling this function. You need to configure the data source in a different way (from a 64-bit application, from the command line, modify the registry directly, etc.)