Quantcast
Viewing all articles
Browse latest Browse all 5355

cvi 64bit exe and sql toolkit

Hi all

 

I am using CVI 2013 SP2 and SQL toolkit 2.3 on win7 64bit machine

In order to connect to *.mdb file i use the following statement

 

hdbc = DBConnect("DRIVER=Microsoft Access Driver (*.mdb);DBQ=c:\\Temp\\Sampl.mdb") ;

When ia compile & run as 32bit exe it works

When ia compile & run as 64bit exe i get the following:

0x00000FEC:   Function DBConnect: (return value == -10 [0xfffffffffffffff6]). Native error code -2147467259 0x80004005 Microsoft OLE DB Provider for ODBC Drivers:     [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

 

Any help will be appreciated

Thanks for advance

Gabel Daniel


Viewing all articles
Browse latest Browse all 5355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>