Jump to content

Recommended Posts

Posted

Hi,

Does someboby how to build an function retrieving the running mode X32 or X64 with the PID

I cannot find the name of a dll with the corresponding function perhaps the hanlde to the process need to be used.

Thanks for the help

Jpm

Posted (edited)

@jpm we was using the following code in wd_helper.au3

_WinAPI_GetBinaryType($sInstallDir & $sDriverEXE)
Local $bDriverIs64Bit = (@extended = $SCS_64BIT_BINARY)

Is this what you was looking for ?

edit:
Take a look also for this function:

_WinAPI_GetProcessFileName()
_WinAPI_GetProcessWorkingDirectory()

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

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
  • Recently Browsing   0 members

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