Please note that Windows 7 has a new Oracle Client (10.2.0.4). In most cases this should be simply the case of removing the existing reference to Oracle.DataAccess from your application and adding a new one from new client folder. However in one case, we came across rather an unusal problem. We call stored functions from a windows application which return Integer type value. Please note we are using RETURN type values not OUT type parameters as this a Function. Here is the C# code. /****************************/ OracleCommand cmd = new OracleCommand("DoesDataItemExist", oraCn); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("RETURN_VALUE", OracleDbType.Int16, ParameterDirection.ReturnValue); cmd.Parameters.Add("p_ID", id); cmd.Parameters.Add("p_YEAR", year); oraCn.Open(); cmd.ExecuteNonQuery(); Int16 retVal = (Int16)cmd.Parameters["RETURN_VALUE"].Value; oraCn.Close(); return retVal > 0...
Sharing the unusual problems and solutions while developing applications using .Net. and AWS