That is really neat. I feel like an IT guy with a nice report like that. Thanks, impressive to see it work like that!
We started a new module development, the thinBasic_exe.dll.
Main purpose of this module is provide easyeexecutables files management.
It starts with the following functions (two are already present in the FILE module) four functions:
- EXE_PE_GetSubsystem()
- EXE_PE_GetSubsystemName()
- EXE_GetVersion()
- EXE_GetVersionString()
but soon other functions will be added.
Module will be in distribution next week, but here is a preview with an interesting script for analyse the subsytem type of executables contained into the Windows folders and sub folders.
Also you found here two screen shot of analysys.
to run the script unzip the attached file thinBasic_Exe.zip into the ThinBASIC modules folder.
Regards,
Roberto
http://www.thinbasic.com
That is really neat. I feel like an IT guy with a nice report like that. Thanks, impressive to see it work like that!
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Hi,
this is very nice module !
It is also interesting to see Vista has so many times more files to analyze than XPs ???
Bye,
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Here are my results:
Thanks for sharing your data.
It's always very iteresting make comparative studies between one Windows release and another.
From this point of view I think that ThinBASIC has many even still unexpressed possibilities, so if you are sightseeing like me please stay tuned because more functions will arrive in order to satisfy your curiosity .
Ciao,
Robert
http://www.thinbasic.com
I will for sure!
In order to detect the executable type I added the followings two functions:
- EXE_GetType()
- EXE_GetTypeName()
Here is a new interesting script (RecurseExeType.tBasic) that try to detect the executable type (I mean MZ, LE, PE) of exe files contained into the Windows folders and sub folders.
Please note that I also changed some ThinBasic_EXEs' constant, so attached to this post you'll find the updated version of RecurseExeSubsystem.tBasic.
Regards,
Roberto
http://www.thinbasic.com
Roberto,
just few minor changes.
[code=thinbasic]
ListDir("c:\windows\", "*.*", "*.EXE")
[/code]
should be changed to
[code=thinbasic]
ListDir(OS_GetWindowsDir, "*.*", "*.EXE")
[/code]
in both examples in order to be sure about windows directory.
Also add a -20 to RMC_SetCtrlSize to keep aspect ratio otherwise chart is right/bottom a little bit outside client area.
[code=thinbasic]
RMC_SetCtrlSize( %ID_RMC1, nDlgW-20, nDlgH-20)
[/code]
Nice, nice code!
Thanks a lot
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Neat, but I have no idea what PE or LE is? I guess I could look it up, but wanted to post to say thanks TOO.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Kryton,
for your info, PE means Portable Executable file format that's the Win32-based systems: (from Windows NT, Win32s, and Windows 95 up to Windows Vista.
Instead LE stands for Linear Executable file format and it was used by OS/2 and by Windows 95 device drivers, it's the first 32 bit executable file format born when Microsoft still working closed to IBM.
NE means for New Executable, back when Windows was "new" (and DOS was "old") It was a 16 bit executable.
So when you speaking about executable file format you can easly identify the type, and platform just say the signature MZ, PE, NE and LE.
I forgot to say what MZ means, the DOS signature AKA the legendary Mark Zbikowski that you found as stub in both PE and NE executables files.
Eros,
you (and your cosmetics update) are welcome!
Now it's really good code.
Ciao,
Roberto
http://www.thinbasic.com