Monday, February 6, 2012

Compile c++ DLL to 64 bit using VS 2003

November 5, 2009 by · Leave a Comment 

HI, Do the following things to compile it to 64-Bit application ———————————————————– 1) Open from the start menu "Microsoft Platform SDK for Windows Server 2003 SP1\Open Build Environment Window\Windows Server 2003 64-bit Build Environment\ Set Win Svr 2003 x64 Build Env (Retail)"(if didn’t find this, please install this SDK) 2) In the command line prompt [...]

SetWindowLong Function doesn’t work in 64 bit machine

November 5, 2009 by · Leave a Comment 

The SetWindowLong function changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. This function has been superseded by the SetWindowLongPtr function. To write code that is compatible with both 32-bit and 64-bit versions of Microsoft Windows, use the SetWindowLongPtr function.

How to reg 64-bit assembly using VS2005 setup on 64-bit

November 5, 2009 by · Leave a Comment 

I got one problem on registering a 64bit assembly during theinstallation. The installation package was developed using VS2005setup project.I could not invoke this assembly after installation. I believe thereason is the assembly had not been registered properly duringinstallation.(The assembly works well if I run Framework64/regasm.exe manually ) Ialready set the Register property of the assembly [...]