I am connecting to Sybase database through File DSN ("Encrypt
Password" was enabled while creating file DSN).
Connection is successful using SQLDriverConnect() where I am only
providing the .dsn file path. Rest is stored in .dsn file.
Requirement: Enabling password modification.
Problem: I am not able to store new password in encryption form
in .dsn file using SQLWriteFileDSN. Is there any separate keyword I
need to provide or I am missing something?
Any help is highly appreciated.
Thanks
Driver is DBODBC9.DLL from IAnywhere Solutions Inc
dbdsn.exe utility provides switch -pe for creating dsn with encrypted
password. I can get encrypted password using this utility and put it
in the fileDSN(that involves creation of DSN, reading value from
registry and deletion of DSN).