With navicat connecting oracle,


Role in the top window is set to sysdba can connect,
The code is as follows:
Const string userName="system";
Const string pass="manager";
Const string connectString="192.168.1.2 instead/former";//IP address and service names for
Oracle: : accounted: : Environment * pEnv=oracle: : accounted: : Environment: : createEnvironment (" ZHS16GBK ", "UTF8");
The Connection * pConn=pEnv - & gt; The createConnection (userName, pass, connectString);
Program execution to Connection * pConn=pEnv - & gt; The createConnection (userName, pass, connectString); After the mistake,
Error messages are:
ORA - 01017: invalid username/password. Logon denied
Please tell, thank you!