Working with Ranorex & C++

Ask general questions here.
TamirE
Posts: 1
Joined: Mon May 11, 2015 10:51 am

Working with Ranorex & C++

Post by TamirE » Mon May 11, 2015 12:07 pm

Hello,
I'm evaluating Ranorex for integration with our C++ test suite.
I have seen some of your tutorials and the code samples.
I am having a hard time understanding how to use Ranorex platform in a C++ project.
all the code samples are written with C# or CB.NET.

any help would be great.
Thanks in advance.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Working with Ranorex & C++

Post by Support Team » Tue May 12, 2015 4:41 pm

Hi TamirE,

I am correct that you want to use the Ranorex DLLs in your C++ solution?
In general, Ranorex is based on the .Net framework, so the DLLs are managed .Net DLLs, so you should be able to load them into your .Net C++ solution in the same way as you would load other .Net DLLs into your solution.
Here are some hopefully useful links: Mixed (Native and Managed) Assemblies, DLLs in Visual C++ and Calling C# .NET methods from unmanaged C/C++ code.
When your C++ solution is not part of .Net you would propably need to make the follwing: How to call a C# library from Native C++ (using C++\CLI and IJW).
To know how to call the Ranorex methods you can open the online API and select Visual C++: Online API Documentation.

Besides that, I am afraid I am of little help here.

Regards,
Markus
.
Image