How to call C# dll function from winrunner? I tried its shows RPC ERROR. How can i solve that? Please send me example?

Questions by p_senthil   answers by p_senthil

Showing Answers 1 - 4 of 4 Answers

bella614

  • Aug 31st, 2006
 

You can't call a C# DLL (Or a VB.Net or J# DLL for that matter) because these language compile to an intermediate code format and not the native code format you expect with C++.

  Was this answer useful?  Yes

sridevi

  • Aug 31st, 2006
 

thanq for valuable information

  Was this answer useful?  Yes

Senthilkumar

  • Sep 4th, 2006
 

Hi,

   Can you help me, from vc++ dll function how to return string values to winrunner. I tried but it returns some special characters. And one more thing is which value i pass through parameters, the same valud returned, if i return other values, it return the parameter value. What can i do. Please help me.

Thanks

Senthilkumar.

  Was this answer useful?  Yes

Sidharth

  • Jan 15th, 2007
 

in your DLL function use char* YourFunctionName()

and while declaring your Dll function in Winrunner use

extern string YourFunctionName()

This should help

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions