How to Solve the Problem

Hai All,

I am facing a problem while accessing the procedure FactP existed in Progress 4GL file namely FactProc.p. Here i am giving the step-by-step procedure what i did.

i Create a Progress 4GL file namely FactProc.p and it content is:

PROCEDURE FactP:
DEFINE INPUT PARAMETER n AS INTEGER.
DEFINE OUTPUT PARAMETER m AS INTEGER.
m=1.
REPEAT:
IF n EQ 0 THEN LEAVE.
m = m * n.
n = n - 1.
END.
END PROCEDURE.

and then Compiled this program to produce r-code using 'Tools->Application Compiler" and got it. Further these files are existed in "Project\OpenEdge\Sample Programs" directory of E dirve.

Now, I used Proxy Generator to produce the Proxy for this file for .NET and the tool stored the generated proxies in 'SampleProcFact' of 'C:\OpenEdge\WRK' directory. I added these proxy files into my C#.NET project reference. and wrote the following code.

using System;
using System.Collections.Generic;
using System.Text;
using Progress.Open4GL.Proxy;
using Progress.Open4GL.DynamicAPI;
using Progress.Open4GL;
using SampleProcFact;
namespace Sample
{
class Sample
{
Connection objCon = null; // Connection Object
TestProcFact objApp = null; // AppServer Objcet
FactProc objProc = null; //Procedure Object

public Sample()
{
// Creating Direct Connection
objCon = new Connection("AppServerDC://localhost:3090/TestProcFact", "", "","");
// Connecting to AppServer Object
objApp = new TestProcFact(objCon);
}
public void Execute()
{
int m = 1;
//Creating Procedure Object
objProc = new FactProc(objApp);
//Activating the Method
objProc.FactP(5, out m);
}
}
class Program

{
static void Main(string[] args)
{
Sample s = new Sample();
s.Execute();
}
}
}

and Compiled successfully.But, when i tried to execute the above program it is giving error at the below shown line.

objProc = new FactProc(objApp);

and the error is

ERROR condition: ** "FactProc.p" was not found. (293) (7211).

i am using Progress OpenEdge 10.1B evaluation release edition. Please help me to solve this problem and tell me where i will get the full refrence for Open Client For .NET

Thanks & Regards.
Shaji Kumar.V.K