I have Credential manager implemented in VC++ which captures credentials during login process. It works well in XP/Vista/Windows 7 32 bit env. But is not working in 64 bit. Any idea ? Thanks in advance for any help
first of all can i ask that have you build your app in x64 platform in visual studio?
because any vc++ application which is build for 32 bit env won't work directly in 64 bit env.
for that you need to build it in x64 platform (compiler option in visual studio 2005 and later ver has the x64 compiler).
Please, visit the link http://msdn.microsoft.com/en-us/library/ms185328.aspx
If you want your DLL to be loaded by a 64-bit process, your DLL has to be compiled for 64 bits.
If you want your DLL to be loaded by a 32-bit process, your DLL has to be compiled for 32 bits. This is true on both 64-bit Windows systems and 32-bit Windows systems.
John gave you a useful link, even though John's wording is wrong. An application (exe) which is built for 32 bits will run in 64 bit Windows, but it can only load 32-bit DLLs.
Can you post the output of dumpbin /exports yourcredmgr.dll
, and the signatures of the NP* functions you're implementing in your DLL?