PEHLP32, a PE (portable executable) helper library v. 1.1
Copyright (c) 2002-2020 Adrian Petrila, YO3GFH
Original code "imported" with small changes from PEDump utility,
(c) 1994-2001 Matt Pietrek.
http://bytepointer.com/resources/pietrek_in_depth_look_into_pe_format_pt1.htm/
I've organized bits and pieces from the original PEDump code in this DLL as part of a university lab project (a task manager). Thanks to Matt for all of his work in bringing the MS Windows guts to more light. Please note that this is cca. 20 years old code. I digged it from the bowels of my drive and spiff it a little bit to compile with Pelles's C compiler and to generate a 64 bit version as well. It was good fun, make what you want of it. I've included the archive with the PEDump code as well.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
It's taylored to my own needs, modify it to suit your own. I'm not a professional programmer, so this isn't the best code you'll find on the web, you have been warned :-))
All the bugs are guaranteed to be genuine, and are exclusively mine =)