I had some old code that ran perfectly in VS 6.0 and used the function GetProcessMemoryInfo located in psapi.h and paspi.lib. This was on a 32 bit machine.
I have a new computer which has the EM64T technology from intel. I have installed win XP 64 bit and VS 2005 Beta Version on this machine. I am trying to get my application to complie and run as a 64 bit application. The rest of the code complies and links just fine. However, the code is unable to link to the GetProcessMemoryInfo function in psapi.lib.
I know that there are 3 versions of psapi.lib currently in my system in the following folders
- Program Files(x86)\visual studio\vc\platformsdk\lib
- Program Files(x86)\visual studio\vc\platformsdk\lib\AMD64
- Program Files(x86)\visual studio\vc\platformsdk\lib\IA64
Does anyone know why the program fails to link This function is still defined in the psapi.h file. However, it is unable to link with it in the library. Does win XP 64 bit need a new library for this function on the EM64T computer Does this function necessitate a new library in just the Program Files folder <instead of Program Files(x86)>
Thanks,
Adwait

VS2005 (VC++) and function GetProcessMemoryInfo on 64 bit
tsay
Adwait
elvisrs
Program Files(x86)\visual studio\vc\platformsdk\lib\AMD64
EM64T is compatible with AMD64.
Thanks,
Eugene