Hi Chris,
Thank you for your reply..
Am adding few more details for your better understanding.
Case 1 : Sybase Anywhere 12
a) sybase anywhere 12 driver is not installed in exe running on the PC. All the dlls and executables in the Sybase anywhere 12 has been copied in the exe folder.
b) database is connected using ODBC setup.
c) ODBC created from my application using RegistrySet function. After this ODBC created in 32 bit and the DSN has been created and regedit values also created successfully. Refer attached regedit.jpg.
d) After running my application it's successfully running the application without installing the Sybase Anywhere 12 driver.
The same procedure I have configured in Sybase Anywhere 16
Case 1 : Sybase Anywhere 16
a) sybase anywhere 16 driver is not installed in exe running on the PC. All the dlls and executables in the Sybase anywhere 16 has been copied in the exe folder.
b) database is connected using ODBC setup.
c) ODBC created from my application using RegistrySet function. After this ODBC created in 32 bit and the DSN has been created and regedit values also created successfully. Refer attached regeditsybase16.jpg.
d) After running my application is not connecting the Database. I have check the SQLCA. sqlerrtext it's showing the below error message
SQLSTATE = IM002 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Kindly help us to resolve this issue..
Thanks & Regards
Rajkumar K S