B
Badrinath Mohan
Hi All
I am accessing a COM component using C#. When i access it through the
standalone c# application it works fine.But when i call it using ASP .net
application its not working .
For example
This is my COM function..
Myfunction(int *PNINPUT ,int nsize,int *PNOUTPUT) is the com function in
the DLL.
I add the reference in my c# application
I call it in the C# application as follows
int [] pninput=new int[32];
//fill values in pninput
int [] pnoutput=new int[32];
Myfunction(ref pnInput,32,ref pnoutput);
I step into the dll and look at the function.
If its a standalone c# application it works fine .
with PNINPUT having all the values.
But when the c# client is a ASP .net the PNINPUT has only the first value
rest of the values are all junk. That is the input variable is not passed
onto the function at all,....
Could anyone please help me to solve this.
thanks and expecting ur reply
kandukondein
I am accessing a COM component using C#. When i access it through the
standalone c# application it works fine.But when i call it using ASP .net
application its not working .
For example
This is my COM function..
Myfunction(int *PNINPUT ,int nsize,int *PNOUTPUT) is the com function in
the DLL.
I add the reference in my c# application
I call it in the C# application as follows
int [] pninput=new int[32];
//fill values in pninput
int [] pnoutput=new int[32];
Myfunction(ref pnInput,32,ref pnoutput);
I step into the dll and look at the function.
If its a standalone c# application it works fine .
with PNINPUT having all the values.
But when the c# client is a ASP .net the PNINPUT has only the first value
rest of the values are all junk. That is the input variable is not passed
onto the function at all,....
Could anyone please help me to solve this.
thanks and expecting ur reply
kandukondein