Hi,
I have a problem with the returnvalue from the function ExecProc in the OraclePackage.
I have created a package in Oracle with two procedures, one that loads a pipe with a integer value and one that reads a integer value from the pipe.
I have also a program written in C# that uses CoreLab Oracle.
in the C#-program I do this:
"
OracleConnection oraConn;
oraConn = new OracleConnection();
OraclePackage packagePipe = new OraclePackage();
strConnect = "User id= BASDATA;Password= BASDATA;Server= PUCCINI";
oraConn.ConnectionString = strConnect;
oraConn.Open();
packagePipe.Connection = oraConn;
packagePipe.PackageName = "pipe";
object objReturnValue = packagePipe.ExecProc("read_pipe");
"
The problem I have is that the variable objReturnValue never seems to get any value. The function call is working, becaus the pipe is empty after calling the function.
Is there something I have to do in my Oracle package or is it someting else.
Tanks for all help in advance.
TobKim