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!!!

how to build X64-bit lib
Matt Fraser
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.
davidhhhhhhhhhhhhhh
admeralthrawn
Ricardo Oliveira
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
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.
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.
Zvonimir
MIS
In fact there is probably a /machine:I386 setting there already so you should be able to just change that.
D_J_
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