how to build X64-bit lib

hi all
I want to porting my app from 32 to 64-bit,I am use vs6 and platform sdk 2003 sp1,and I think all the setting is ok there, how can I build the lib used for x-64,?I can not find the "link" tab to add "/machine:AMD64",any one can help me?
thanks a lot!!!Idea
[331 byte] By [hugohuang] at [2008-2-5]
# 1
In Viusal Studio 6.0, from the Project | Settings menu you should see the Project Settings dialog with a Link tab in it. At the bottom of the link tab is the Project Options box and you should be able to put your /machine setting in there.

In fact there is probably a /machine:I386 setting there already so you should be able to just change that.

FrankBoyne at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 2
Hi hugo!
> I want to porting my app from 32 to 64-bit,I am use vs6 and platform sdk
> 2003 sp1,and I think all the setting is ok there,but when I try to build
> a lib,there always be link errors,any one can help me? VC6 ist not supported with PSDK 2003SP1! The last PSDK with VC6 support is Feb2003! Greetings Jochen
MVPUser at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 3
NNTP User (Jochen) wrote:
VC6 ist not supported with PSDK 2003SP1!
That's certainly what Microsoft have said, but it is a bit misleading nonetheless.

The April 2005 PSDK (or Windows Server 2003 Sp1 PSDK if you prefer) contains support for compiling IA-64 and x64 architectures and that support includes header files and libe files for ATL 3.0 and MFC 4.2 both of which shipped with Visual Studio 6.0.

It is (I believe) Microsoft's intention that the April 2005 PSDK be used to compile Visual C++ 6.0 programs for use on IA-64 and x64 systems, so from that point of view I'd argue that VC 6 is supported if only for IA-64 and x64.

FrankBoyne at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 4
Hi Frank!
> The April 2005 PSDK (or Windows Server 2003 Sp1 PSDK if you prefer)
> contains support for compiling IA-64 and x64 architectures and that
> support includes header files and libe files for ATL 3.0 and MFC 4.2
> both of which shipped with Visual Studio 6.0. Yes, but this has nothing to do with VS6!
> so from that point of view I'd argue that VC 6 /is/ supported if only for
> IA-64 and x64. No. If you want to build with the PSDK 2003-SP1 you cannot do this with the VC6 compiler! You need to use the PSDK-2003-SP1 compiler. That′s just what I wanted to say: VC6 compiler does not work with PSDK2003-SP1. If you use the PSDK-compiler then it has no relation to VC6! -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/
MVPUser at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 5
NNTP User wrote:
Yes, but this has nothing to do with VS6!
I think I know what you mean but I don't think things are as clear-cut as you make out.

If I generate a program by running Visual Studio 6.0 and using the Visual C++ 6.0 ATL wizard then I submit it is not unreasonable to think that the generated program has something to do with Visual Studio 6 and Visual C++ 6

If you want to build with the PSDK 2003-SP1 you cannot do this with
the VC6 compiler!
I'm not sure what you are getting at here.

If you are saying that you can't build 64-bit code using the compilers shipped with Visual Studio 6.0 then absolutely I agree. The shipping VC++6 compilers don't generate IA-64 or x64 code - that's why there are 64-bit compilers shipping in the PSDK.

If you use the PSDK-compiler then it has no relation to VC6!
A small relation perhaps but not nothing.

My concern when people read things like "VC6 is not supported by the April 2005 PSDK" or "VS 6 is not supported by the April 2005 PSDK " is that some may be left with the impression that programs generated by Visual Studio 6/Visual C++ 6.0 cannot be compiled for IA-64 or x64 when in fact they can.

FrankBoyne at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 6
Hi Frank!
> My concern when people read things like "VC6 is not supported by the
> April 2005 PSDK" or "VS 6 is not supported by the April 2005 PSDK " is
> that some may be left with the impression that programs generated by
> Visual Studio 6/Visual C++ 6.0 cannot be compiled for IA-64 or x64 when
> in fact they can. Yes. If you only want to compile your VC6 program with the PSDK-compiler, then it works... But if you try to include the PSDK (April2005)-headers in a VC6-Project (compiled with the VC6 IDE) then it will not work. -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/
MVPUser at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 7
I have made a 64bit program with VC6.0 and PSDK,I think you can do it too.
I met the same problem as you. I think there are some resources still 32bit,like some libs,or some obj files……I adjusted my problem now.
good luck.
my MSN:hupo1982@sina.com
hupo1982 at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....

.NET Development

Site Classified