Managed C++: Embedding Microsoft Visual C++ Redistributable(boxedapp.com)

submitted by _UE__UE_(230) 3 years, 10 months ago

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 |category: |Views: 98

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by TheColonialTheColonial(0) 3 years, 10 months ago 0

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?

Reply

posted by ReactorReactor(0) 3 years, 10 months ago 0

> 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...

Reply

posted by TheColonialTheColonial(0) 3 years, 10 months ago 0

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. :)

Reply

posted by ReactorReactor(0) 3 years, 10 months ago 0

> 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 :))

Reply

information Login or create an account to comment on this story