On 24.11.2009 17:36, Adrian Buehlmann wrote:
> On 24.11.2009 16:39, Steve Borho wrote:
>> FWIW: these are the exact same errors I get.  I assume these could be
>> fixed if I could find the right header files to install, but this is
>> not an area I'm familiar with at all.
>>
> 
> Ok. It looks like I made some progress here.
> 
> I downloaded the DVD ISO image (file GRMSDK_EN_DVD.iso) for "Windows® 
> Software Development Kit
> (SDK) for Windows 7 and .NET Framework 3.5 Service Pack 1" for the x86 
> platform from MS [1]
> (around 1.4 GB, ~20 Minutes on my end :-), burned a DVD with it and installed 
> it (leaving all
> options for the installer at default).
> 
> (You can install from web as well, but I prefer using install media, to have 
> it repeatable)
> 
> Then I used the instructions contained in the file ReleaseNotes.Htm at the 
> root dir of the DVD
> (excerpt):
> 
> '''
> 4.4.2            Setting Build Environment Switches
> 
> To set the build environment, use the setenv.cmd tool within a debug cmd 
> shell by following the steps below..
> 
> 1.            Launch the Windows SDK build environment. From the Start menu, 
> click on
> All Programs > Microsoft Windows SDK v7.0 > CMD Shell.
> 
> 2.            Set the build environment. At the prompt, type:
> "C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\setenv.cmd" [/target]
> 
> The list of available targets is shown below.
> 
> Usage: "Setenv [/Debug | /Release][/x86 | /x64 | /ia64][/vista | /xp | /2003 
> | / 2008 /win7 ] [-h or /?]"
> /Debug   - Create a Debug configuration build environment
> /Release - Create a Release configuration build environment
> /x86     - Create 32-bit x86 applications
> /x64     - Create 64-bit x64 applications
> /ia64    - Create 64-bit IA64 applications
> /vista   - Windows Vista applications
> /xp      - Create Windows XP SP2 applications
> /2003    - Create Windows Server 2003 applications
> /2008    - Create Windows Server 2008 or Windows Vista SP1 applications
> /win7    - Create Windows 7 applications
> '''
> 
> So I did step 1 and 2 exactly as written above, choosing '/x64' for the 
> target.
> 
> Then it went like this on my Windows XP SP3 32 bit (with VC++ 2005 Pro and 
> VC++ 2008
> express installed):
> 
> '''
> Setting SDK environment relative to C:\Program Files\Microsoft 
> SDKs\Windows\v7.0.
> Targeting Windows XP x64 DEBUG
> 
> **********************************************************************************
> WARNING: The VC++ Compiler Toolset is currently using Windows SDK 'v6.1'.
> To use Windows SDK v7.0 use 'WindowsSdkVer.exe -version:v7.0', or 
> alternatively
> you can pass the '/useenv' switch to vcbuild.exe to use the Windows SDK v7.0 
> on
> a per project basis.
> **********************************************************************************
> 
> $ W:
> 
> $ cd W:\thg-default\win32\shellext
> 
> $ nmake /f Makefile.nmake clean
> 
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>         del *.obj *.dll *.exe *.lib *.exp *.manifest
> 
> $ nmake /f Makefile.nmake
> 
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>         cl /nologo /Ox /W2 /EHsc /MT /DAPPMAIN /DTHG_DEBUG /c 
> TortoiseUtils.cpp Direntry.cpp Directory.cpp Winstat.cpp ThgDebug.cp
> p InitStatus.cpp CShellExtCMenu.cpp CShellExtOverlay.cpp IconBitmapUtils.cpp 
> Registry.cpp ShellExt.cpp StringUtils.cpp SysInfo.cpp
>  dirstate.cpp Winstat64.cpp Dirstatecache.cpp DirectoryStatus.cpp 
> Thgstatus.cpp QueryDirstate.cpp
> TortoiseUtils.cpp
> Direntry.cpp
> Directory.cpp
> Winstat.cpp
> ThgDebug.cpp
> InitStatus.cpp
> CShellExtCMenu.cpp
> CShellExtOverlay.cpp
> IconBitmapUtils.cpp
> Registry.cpp
> ShellExt.cpp
> StringUtils.cpp
> SysInfo.cpp
> dirstate.cpp
> Winstat64.cpp
> Dirstatecache.cpp
> DirectoryStatus.cpp
> Thgstatus.cpp
> QueryDirstate.cpp
> Generating Code...
>         link /OUT:THgShell.dll /nologo /INCREMENTAL:NO /MANIFEST shlwapi.lib 
> gdiplus.lib kernel32.lib user32.lib gdi32.lib winspoo
> l.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib 
> odbc32.lib odbccp32.lib /DLL /DEF:ShellExt.def Tortois
> eUtils.obj Direntry.obj Directory.obj Winstat.obj ThgDebug.obj InitStatus.obj 
> CShellExtCMenu.obj CShellExtOverlay.obj IconBitmapUt
> ils.obj Registry.obj ShellExt.obj StringUtils.obj SysInfo.obj dirstate.obj 
> Winstat64.obj Dirstatecache.obj DirectoryStatus.obj Thg
> status.obj QueryDirstate.obj
>    Creating library THgShell.lib and object THgShell.exp
>         mt -nologo -manifest THgShell.dll.manifest 
> -outputresource:"THgShell.dll;#2"
> 
> $
> '''
> 
> I haven't yet tried the resulting dll.
> 
> [1] 
> http://www.microsoft.com/downloads/details.aspx?FamilyID=71deb800-c591-4f97-a900-bea146e4fae1&displaylang=en
> 

Resulting dll tested fine on Vista Business 64 bit.

Quick testing with Debug View revealed nothing fishy.

This was built using tip of default. Context Menu looks fine.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to