Sign in to follow this  
Followers 0
Brian777

How to detect if 32 or 64bit process on 64bit OS?

8 posts in this topic

Hi. It's my first time to write here. I'm a beginner as an autoit programer.

I'm Korean, so I can speak Eng a little.

I gonna describe my problem.

I use a 64bit OS.

There are two execute files having same name. ex) test.exe, test.exe

Because One of them is for Wow64(32bit), it operats as WOW64 on my machine.

And the other one is for Native64(64bit), so this one is executed as NATIVE64.

When I excute one, I wanna detect if it is Wow64 mode(32bit) or Native64(64bit).

How can I get it?

I found ProcessGetStats(["process" [, type]]) func, but it is't related to solve my problem.

Plz let me know the answer.

Share this post


Link to post
Share on other sites



dono, but if you dont finde solution maby good place to start is if im not wrong

ms684139(v=vs.85)

ms684320(v=VS.85)

i think that trancexx had this func in some of his code "IsWow64Process" but hell if i can remamber where and when


TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

The have the function _WinAPI_IsWow64Process ( [$PID] )

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

strange that google did not offer that page even on search for

"IsWow64Process" site:autoitscript.com

but did find trancexx code in RunBinary.au3

even IsWow64Process on forum search hit 0, probably gota imagine func the name before search :)

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

BTW:

i think that trancexx had this func in some of his code "IsWow64Process" ..

should read

i think that trancexx had this func in some of her code "IsWow64Process" ..

Check her profile and you'll be surprised :)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Until someone can convince me to the contrary - yes :)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

the only thing you can be shure on this world is to be sure that your shure even if your wrong

BTW:

good the place to start

Who's the wild cat in pink? Meow!

and heare is one more

Ah, yes!

Maybe that's why I like it, I was in love with her.

and haven break down on me if i know how that goes together with

Oh and... nice ass Jon.

misleading signals on every corner

so i suggest that we dont call him or her, him or her, rather we call it 'it' and almost everyone will b happy :)

Edited Reason: added more info ;)

Edit request:Can we get split on post and move to chat somehow? ;)

yes trancexx, ofc im jokeing (^,_,^)

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0