BLOG

Side by Side ... follow up

I was surprised by the publication and the number of reactions of what was a simple technical article. It convinced us to share more broadly the technical issues and solutions that we encounter on this blog in the future. In the meantime, I would like to comment on the comments.

Some people wrote "This guy is clueless about Microsoft. It is written that the needed DLLs must be shipped with the C++ application.".

Maybe we should be more explicit about our application: this is a Web plugin. It needs to be installed fairly automatically. So we cannot ask every user to run vcredist.exe on his PC. What if you needed to do that to install Flash ! And we did try a number of things:

 

  •  We tried to ship the DLL as a private assembly. It would not work because of the strange conflict mentionned in the previous post.
  • We tried full static linking. Our plugin GUI because strangely unresponsive and slow.
Some others said "It's a non-story"

It is. Otherwise it would not have caused so much reaction and Ted and others would not have patiently proposed some solutions. Why is there NO article on MSDN on this topic?

2 Commentaire(s) - Laissez un commentaire

Programmer

Here are two results from the top of a Google search: http://msdn.microsoft.com/en-us/library/ms811694.aspx http://msdn.microsoft.com/en-us/library/ms235264.aspx Here are a couple more: http://msdn.microsoft.com/en-us/library/aa459142.aspx There are THOUSANDS of books and articles dealing with package installation. I have had to statically link dll's in two instances in the past. It works. My point is this. You were not aware of all the technical details involved in installation systems. Lots of other people deal with this all the time. If you are unfamiliar with how this works, I would suggest that you look into it. Take a course at your local University (this was covered in a 2nd year course in compilers for me, an easy one too). If you don't want to take a course, read a book. I have more than a dozen C++ books on my book shelf at home that talk about this issue. Two of them are Win32 specific books that cover the entire spectrum. I would hazard a guess that you could find all the answers to your question if you just went and picked up ANY Windows C++ book. But certainly find and read a book covering installation packages.

Programmer

Wow this comment system really kills any kind of formatting doesn't it...

< Retour

Laissez un commentaire..

Titre:
Nom:
Email:

(confidentiel)

Commentaire:
23+77=: