LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SQL toolkit Vista and windows 7 problem

Hi all.

 

I have a program that uses the SQL Toolkit, Its works like a dream on Windows XP.

But when i try to run the app with the same ODBC setting as xp on Windows Vista and 7 i cant connect to the database.

Does anyone know why this is happening and a solution if you have one ?

 

Code:

 

DBInit (DB_INIT_MULTITHREADED);
DatabaseHandle = DBConnect ("DSN=ITAGv11");
if (DBError ())
{
MessagePopup("Error","Database connection problem.");
}

 

I have attached an image of my ODBC settings.

 

Thanks in advance.

 

 

Help share your knowlegde
0 Kudos
Message 1 of 2
(3,284 Views)
I haven't run into any database issues, so if someone else has additional experience, please add their comments/experiences. Can you run any of the database examples provided with CVI. Also what version of CVI are you using?
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 2
(3,253 Views)