Tuesday May 3rd

Monday May 2nd

Managed C++: Embedding Microsoft Visual C++ Redistributable

If you use a DLL written in Managed C++, you should a few DLLs from the Microsoft Visual C++ Redistributable package installed. There are no usual ways to link these libraries statically (due to C++ / CLI restrictions). But there a way to include these DLLs into your application, see how in this article.

4 comments

Is this legal? Shipping individual MS components individually isn't always something that you can do willy-nilly. Packaging up the DLL as a resource could break the license agreement?

I was under the impression that you always had to include the entire redistributable in your app?

> Is this legal? Shipping individual MS components individually isn't always something that you can do willy-nilly. Packaging up the DLL as a resource could break the license agreement?

I think it's fully legal, becuase it's the same as you link these dlls statically, as in the case of unmanaged c++...

> I was under the impression that you always had to include the entire redistributable in your app?

m$ is crazy :)

anyway, it's good that there is a good solution such as boxedapp...

You think or your KNOW it's legal? Including a DLL in your resources and dropping it on a filesystem is most definitely NOT the same as linking statically. :)

> You think or your KNOW it's legal?

Unfortunaly, I don't work in MS and I'm not a lawer, so I can only thinking :))

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network