I have to connect DB2/400 in C++. i am having 2 options given
1) By ADO connection
2) By DB2 libraries provided by DB2

Can anyone tell me which option is better and why

Thanks

ashish