Skip to content

Command line tool that checks if a Windows executable is a 32-bit or 64-bit executable.

License

Notifications You must be signed in to change notification settings

andreburgaud/bintype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bintype

bintype is a newLISP script that determines if a Windows executable is a 32-bit or 64-bit executable. It simply uses the Win32 GetBinaryType function from the kernell32 Windows DLL.

For more information about GetBinaryType, consult the following Microsoft documentation: https://msdn.microsoft.com/en-us/library/windows/desktop/aa364819(v=vs.85).aspx.

Standalone executables of bintype are available in the releases area: https://github.com/andreburgaud/bintype/releases

Using as a Script

newLISP needs to be installed on your Windows OS and available in the Windows PATH. In the bintype project directory:

C:/projects/bintype> newlisp bintype.lsp newlisp.exe

                                 Bintype 1.1.0
                         Copyright (C) 2018 Burgaud.com
                                 Andre Burgaud

newlisp.exe: 64-bit Windows-based application

Build a Standalone Executable

In the bintype project directory:

C:/projects/bintype> newlisp build.lsp
newLISP v.10.7.1 64-bit on Windows IPv4/6 libffi.

Good: newLISP was found on the PATH!
Building bintype.exe...
The build was successful!
C:/projects/bintype> dir *.exe
 Volume in drive C has no label.
 Volume Serial Number is F66E-3BEE

 Directory of C:\Users\andre\AB\git\bintype

01/22/2018  11:16 PM           320,575 bintype.exe

Licenses

Resources

About

Command line tool that checks if a Windows executable is a 32-bit or 64-bit executable.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published