Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Icons in NE and PE executables (Developers)

posted by DOS386, 13.10.2010, 03:27

> extend my fileselector with new feature

of what app?

> the PE format a little bit yes but it is a mess

Thanks Bill :lol:

> 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"). :lol:

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. :lol:

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 198 users online (0 registered, 198 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum