I had this application source and I moved from w7 32 to w7 64. Code is in vb6. It was working well on 32 bit machine, but now get this error. [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed But strange thing is if I compile on 64 bit then .exe runs and connects to oracle with no problem. exe file founds ODBC correctly. But if I try to debug it - it gives me error. So only debugger looks for driver in bad directory. Can someone give idea what to do? How do I change vb6 debuger to look for ODBC in SysWOW64 but not in system32? Odbc source is correct in C:\Windows\SysWOW64\odbcad32.exe
vb6 source code is real big and it is not only one project, I have loads of then and they all connects using odbs, so there is no way to change the code. I need somehow to setup debugger to user correct driver.
vb6 source code is real big and it is not only one project, I have loads of then and they all connects using odbs, so there is no way to change the code. I need somehow to setup debugger to user correct driver.