IsWin64 Bit

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: IsWin64 Bit

Post by mol »

srvet_claudio wrote:I will include:

Code: Select all

#xtranslate HMG_IsWin64() => IF( EMPTY( GetEnv( "ProgramW6432" ) ), .F., .T. )
Thanks Dave.
I think

Code: Select all

#xtranslate HMG_IsWin64() =>  .not. EMPTY( GetEnv( "ProgramW6432" ) )
will be enough :-)
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: IsWin64 Bit

Post by srvet_claudio »

mol wrote:
srvet_claudio wrote:I will include:

Code: Select all

#xtranslate HMG_IsWin64() => IF( EMPTY( GetEnv( "ProgramW6432" ) ), .F., .T. )
Thanks Dave.
I think

Code: Select all

#xtranslate HMG_IsWin64() =>  .not. EMPTY( GetEnv( "ProgramW6432" ) )
will be enough :-)
Yes, this way is more compact but is more difficult for debug purpose in .ppo files.
I think your way is better with a Function that with #xtranslate.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply