What dlls needed to deploy C++/CLI app

G

Guest

What dlls do I need to redistribute with an application made using C# and
C++/CLI for a Windows XP Pro SP2 PC? As far as I have understood the
following are needed:

msvcm80.dll
msvcr80.dll
msvcp80.dll
msjava.dll

Is that right? What else do I need? I'm not able to run my application
supplying only these dlls. I have tried with Dependency Walker but on a PC
where I can run my application there are more missing dlls than on on PC
where I can't run my app. So I don't know what I'm missing.
 
B

Ben Voigt

Joachim said:
What dlls do I need to redistribute with an application made using C# and
C++/CLI for a Windows XP Pro SP2 PC? As far as I have understood the
following are needed:

msvcm80.dll
msvcr80.dll
msvcp80.dll
msjava.dll

Is that right? What else do I need? I'm not able to run my application
supplying only these dlls. I have tried with Dependency Walker but on a PC
where I can run my application there are more missing dlls than on on PC
where I can't run my app. So I don't know what I'm missing.

What is the exact error preventing your application from running?
 
G

Guest

"Failed to load module from assembly C:\Documents and
Settings\Desktop\070327\MyCPPCLIProj.dll. Error was:
Could not load file or assembly 'MyCPPCLIProj, Version=1.0.2629.32412,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. This
application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem. (Exception from
HRESULT: 0x800736B1)"

Can also mention that I just recently was prompted to add the msvc?80d.dll
files.

Joachim
 
B

Ben Voigt

Joachim said:
"Failed to load module from assembly C:\Documents and
Settings\Desktop\070327\MyCPPCLIProj.dll. Error was:
Could not load file or assembly 'MyCPPCLIProj, Version=1.0.2629.32412,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. This
application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem. (Exception
from
HRESULT: 0x800736B1)"

Can also mention that I just recently was prompted to add the msvc?80d.dll
files.

You need to do a release build, which won't use the ......d.dll version.
Those dlls are only for debug build and mustn't be copied to other
computers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top