Start exe with Ranorex => exe cannot find dlls, although thei are in the same folder

Ranorex Studio, Spy, Recorder, and Driver.
ranorTest123
Posts: 3
Joined: Mon Feb 18, 2019 4:17 pm

Start exe with Ranorex => exe cannot find dlls, although thei are in the same folder

Post by ranorTest123 » Mon Feb 18, 2019 4:20 pm

Hello Ranorex Users,
this is the first time I use the Software.

I am trying to Start a self made programm via Ranorex. I select the .exe in the wizard but when I hit run, the exe tells me that it could't find the dlls, although they lie in the same directory as the exe.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Start exe with Ranorex => exe cannot find dlls, although thei are in the same folder

Post by odklizec » Tue Feb 19, 2019 2:02 pm

Hi,

If you mean the Run application command fails to run your app, please try to set the working directory. This should help with this kind of issue.
WorkingDir.png
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
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

ranorTest123
Posts: 3
Joined: Mon Feb 18, 2019 4:17 pm

Re: Start exe with Ranorex => exe cannot find dlls, although thei are in the same folder

Post by ranorTest123 » Thu Feb 21, 2019 11:53 am

Hello odklizec,

thank you vermy much for your answer.
That solves it.