How i can write one application to  in  64 os and 32 os together
Posted on 2005-03-11 10:49:06 by AAASAMY7
not easily in asm, however using the /d compile64bit command in masm to pass defines works
and then

ifdef compile64bit

xor rcx,rcx
; do 64 bit stuff

else

xor ecx,ecx

; do 32 bit stuff

endif

works fine, done define it for 32 bit, define for 64 bit, you'll have to really plan out the code structure though etc

Posted on 2005-03-11 20:27:54 by evlncrn8