Hello,
I need to use an external dll (C++) or jar (java) in my automation project.
I will be happy to get some information regarding this topic since I don't have any experience with doing this.
thanks in advance! Eyal
use external dll (C++) or jar (java) with ranorex
Re: use external dll (C++) or jar (java) with ranorex
Hi and welcome here,
Could you be a bit more specific about what exactly you want to achieve? How do you want to use the external dll or jar in your project?
Basically, you can add an external dll file to your project via Project >> Add Reference menu.
Could you be a bit more specific about what exactly you want to achieve? How do you want to use the external dll or jar in your project?
Basically, you can add an external dll file to your project via Project >> Add Reference menu.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Certified Professional
- Posts: 74
- Joined: Mon Aug 14, 2006 7:17 pm
- Location: CH
Re: use external dll (C++) or jar (java) with ranorex
Hi ,
I'm not completely agree with odklizec, to add the the C++ dll over add reference to a C# or VB project, but I'm speaking about unmanaged C++ dll. The most of the time you have to add something like below at your class.
to access a method in your c++ dll.
For Java you can use maybe http://www.ikvm.net/ but I have never tried it.
But as odklizec told some more information would be helpful.
Regards
Dan
I'm not completely agree with odklizec, to add the the C++ dll over add reference to a C# or VB project, but I'm speaking about unmanaged C++ dll. The most of the time you have to add something like below at your class.
Code: Select all
[DllImport("myCPlusPlus.dll")]
internal extern static int Authenticate(string username, string password, string requestUrl, bool isHttps);
For Java you can use maybe http://www.ikvm.net/ but I have never tried it.
But as odklizec told some more information would be helpful.
Regards
Dan
Re: use external dll (C++) or jar (java) with ranorex
Hi
Thank you both!
I will try and let you know if I need more help.
ATM I don't have more information but when I do I will let you know.
Eyal
Thank you both!
I will try and let you know if I need more help.
ATM I don't have more information but when I do I will let you know.
Eyal