Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Is it possible to use connection url to connect to database using MFC?

$
0
0

 

I am working with a legacy application developed using MFC. To connect to database, a DSN needs to be created and then application connects to database using CDatabase::OpenEx() method.

 

Instead of DSN, is it possible to use connection url to connect to database in MFC?

I think this is possible using type 4 JDBC drivers in Java. Do we have anything in MFC (or Platfrom SDK) which supports using connection URLs? Thanks


Viewing all articles
Browse latest Browse all 15302

Trending Articles