Jump to content

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


Recommended Posts

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.

Link to comment
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.

 
Link to comment
Share on other sites

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.

 
Link to comment
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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • Developers

BTW:

should read

Check her profile and you'll be surprised ;)

R U Sure? :) Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

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.

 
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...