On Jan 7, 2007, at 6:47 PM, Neil Mitchell wrote:
On Xp and W2K the reg program is capable of querying and modifying the
registry. Just type "reg" at the command line. It basically calls the
Win32 Reg... functions with the appropriate parameters.
I just discovered the tool we need: users should have the Microsoft
Platform SDK installed. A quick search for that directory, and in
there, specifically Program Files\Microsoft Platform SDK [version,
type]\Setup\ is VCDetect.Exe, which is run from the command line and
outputs the correct batch-script call for the environment variables
to a file:
C:\>VCDetect file
C:\>type file
@ECHO OFF
CALL "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools
\VSVars32.bat"
SET MSVCVer=8.0
I still haven't figured out how to call this properly from a bash-
shell (however emulated in DOS). By the way, vSvars32.bat is for
Visual Studio (more general, better) and--my mistake--vcvars32.bat is
specific to Visual C++.
Cheers,
Pete
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc