Exe works in one directory but not in another

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
l2k-Shadow
Newbie
Newbie
Posts: 3
Joined: Mon Jun 14, 2010 11:28 pm

Exe works in one directory but not in another

Post by l2k-Shadow »

I have a program in a directory which works in wine without a problem. I copied this program to another directory but now it's freaking out about missing dlls like this:
err:module:import_dll Library MSVCP50.dll (which is needed by L"Z:\\drives\\system\\Business\\BotDev\\l2uthless Chat New2\\ARDENC.DLL") not found

How come it works in one directory and not another? Is there something i am missing? I did not install this program via an automatic installer, nor does it use registry, so simply copying all the files should not break the program.

Thanks for your help.
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Exe works in one directory but not in another

Post by dimesio »

l2k-Shadow wrote:I have a program in a directory which works in wine without a problem. I copied this program to another directory but now it's freaking out about missing dlls like this:
err:module:import_dll Library MSVCP50.dll (which is needed by L"Z:\\drives\\system\\Business\\BotDev\\l2uthless Chat New2\\ARDENC.DLL") not found

How come it works in one directory and not another? Is there something i am missing? I did not install this program via an automatic installer, nor does it use registry, so simply copying all the files should not break the program.
Apparently you didn't copy everything--specifically, the dll it's complaining about.
John Drescher

Exe works in one directory but not in another

Post by John Drescher »

On Tue, Jun 15, 2010 at 9:39 AM, dimesio <[email protected]> wrote:
l2k-Shadow wrote:
I have a program in a directory which works in wine without a problem. I copied this program to another directory but now it's freaking out about missing dlls like this:
err:module:import_dll Library MSVCP50.dll (which is needed by L"Z:\\drives\\system\\Business\\BotDev\\l2uthless Chat New2\\ARDENC.DLL") not found

How come it works in one directory and not another? Is there something i am missing? I did not install this program via an automatic installer, nor does it use registry, so simply copying all the files should not break the program.
Apparently you didn't copy everything--specifically, the dll it's complaining about.
BTW, that file is part of the visual studio runtime. I believe version
VS2002 although I could be wrong.

John
Locked