More info about Windows SDK

Rich Megginson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
I've gone around and around with this.  It just seems very difficult to 
use VC++ Express Edition to create a redistributable package.  Doing 
this creates a dependency on msvcr80.dll that apparently cannot be 
resolved.  There is a vcredist.exe that end users can install on their 
machine, that installs msvcr80.dll and sets up the machine to use it. 
But according to some folks on the mozilla builds newsgroup, there is a 
bug in this that was resolved with VC++ sp 1.  However, there is no 
vcredist.exe sp 1 for VC++ Express Edition.  Another thought I had was 
to just copy msvcr80.dll from the machine and put that in the SDK 
package.  But according to the same folks on the mozilla builds list, 
this may violate the EULA for VC++ Express Edition.  So the options are:

1) Use VC++ paid ($$$) Edition.  Require anyone who wants to build a 
redistributable Mozilla LDAP SDK to purchase VC++.

2) Figure out some way to hook into the Mozilla build system, and use 
that to create the redistributable package.  The Mozilla build system 
uses the paid VC++, so this is not a problem.

3) Compile statically.  This would require several changes to configure 
and the Makefiles, in order to build dynamically in most cases e.g. for 
use in Thunderbird and other products, but to build statically when 
building the SDK.

4) Use MSYS.  I assume this would run on a native Windows machine (i.e. 
one without cygwin or msys already installed), or we would have to 
distribute the dll.  I think you used to have to do this with cygwin 
apps - provide cygwin1.dll with your binaries.


I think 2) is the best option.  But I just don't have the time to do 
this right now, so it is going to be a while.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.