SQLConfigDataSource does not add System DSN for 64-bit drivers

前端 未结 1 1120
深忆病人
深忆病人 2021-01-25 01:43

I load the odbccp32.dll from System32 and even tried to use from SysWow64. I use SQLConfigDataSource function to configure my System DSN f

相关标签:
1条回答
  • 2021-01-25 02:01

    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.)

    0 讨论(0)
提交回复
热议问题