Hi!
I have DTI rutines in c++ to create database and DNS that works on win XP
both on workgroup and server
I am trying to make them work on 64bit Vista with Pervasive 10.10 workgroup but fails on PvCreateDSN, P_E_ACCESS_RIGHT.
I know that the 32-bit ODBC administrator has to be used when manually configure ODBC but how to use DTI.
I have not tried on 32bit Vista.
simplified code:
*********
PvConnectServer(serverName,userName,password, &hConnection);
pvDropDatabase(hConnection, oldDBName,0);
PvDeleteDSN(hConnection, oldDSNName));
pvCreateDatabase(hConnection,newDBName,dictPath,dataPath, dbFlags);
PvCreateDSN(hConnection,newDSNName), "Pervasive ODBC Engine
Interface",newDBName, openMode); <- gives P_E_ACCESS_RIGHT
*********
I am running as administrator.
Is there someone who can tell me how to get it working