Icons in NE and PE executables (Developers)
> extend my fileselector with new feature
of what app?
> the PE format a little bit yes but it is a mess
Thanks Bill
> I can locate the PE signature inside exe but I don't know ho to locate
> .rsrc section and inside this section the file icon
WRONG (you and all the PE "specifications").
There is a directory of 16 entries, at index 2 there is the resource area (NOT section), this may be anywhere, so you have to read the section table too, find the section where the resource area is, and be prepared to the case that the resource area is invalid (partially inside a section, in no section, ...), so your app may NOT hang, corrupt memory, Page-Fault, GP-Fault, Triple-Fault or behave badly in whatever way if the PE is invalid in whatever way, just do like I did im my great UPET app (untouched for 8 months, damn lack of time ), just be assured that I will feed in corrupt PE's if you release your app one day.
---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***
Complete thread:
- Icons in NE and PE executables - Laaca, 14.09.2010, 15:33 (Developers)
- Icons in NE and PE executables - Rugxulo, 15.09.2010, 23:08
- Icons in NE and PE executables - RayeR, 16.09.2010, 00:51
- Icons in NE and PE executables - DOS386, 13.10.2010, 03:27
- Icons in NE and PE executables - Laaca, 13.10.2010, 12:03
- Icons in NE and PE executables - DOS386, 15.10.2010, 03:01
- Icons in NE and PE executables - Laaca, 13.10.2010, 12:03
- Icons in NE and PE executables - Rugxulo, 15.09.2010, 23:08