How to add an external dll and refer. it in code module

Ask general questions here.
thilina
Posts: 28
Joined: Wed Sep 03, 2014 12:32 pm

How to add an external dll and refer. it in code module

Post by thilina » Mon May 18, 2015 11:07 am

How to add an external dll to a ramorex project and refer its classes in code module.

CookieMonster
Certified Professional
Certified Professional
Posts: 74
Joined: Mon Aug 14, 2006 7:17 pm
Location: CH

Re: How to add an external dll and refer. it in code module

Post by CookieMonster » Mon May 18, 2015 12:09 pm

Hi thilina,

you have to add the dll over references to your Ranorex Project and you have to add the name space, you want to use or access it, into your code module file. By using

Code: Select all

  using MyNameSpace.SomeNameSpace;
or

Code: Select all

 MyNameSpace.SomeNameSpace.MyFunction();
Cheers
Dan