Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahkscript/ahk-sizeof-checker
A library that can check the number of bytes of a windows define. Companion to _Struct and WinStructs. REQUIRES VISUAL STUDIO
https://github.com/ahkscript/ahk-sizeof-checker
Last synced: about 9 hours ago
JSON representation
A library that can check the number of bytes of a windows define. Companion to _Struct and WinStructs. REQUIRES VISUAL STUDIO
- Host: GitHub
- URL: https://github.com/ahkscript/ahk-sizeof-checker
- Owner: ahkscript
- Created: 2015-02-03T04:03:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-06T11:18:59.000Z (almost 10 years ago)
- Last Synced: 2024-03-27T02:48:09.217Z (8 months ago)
- Language: AutoHotkey
- Homepage:
- Size: 145 KB
- Stars: 2
- Watchers: 45
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AHK-SizeOf-Checker
A library that can check the number of bytes of a windows define.Dependencies:
Visual Studio must be installed.##What?
A Utility to check the size, in bytes, of Windows Structures, datatypes etc.##Why?
Written for use with HotkeyIt's _Struct - to check that structure definitions are correct by cheking the size that _Struct thinks the structure is, compared to what windows thinks it is.##How?
It creates a C source text file with the needed C code to check the size of the data type.
It then builds a windows batch file to:
1) Set up the Visual Studio compiler to work at the command-line.
2) Run the Visual C compiler to compile the C code
It then runs the batch file to create an EXE.
It then runs the compiled EXE and returns the result.