View Single Post
  #2  
Old 04-21-2005, 07:28 AM
AndreaGeddon AndreaGeddon is offline
Administrator
 
Join Date: Dec 2002
Location: Italy
Posts: 42
Default

Quote:
Originally posted by roozbeh@Apr 20 2005, 08:15 AM
Hi

i have problems adding my dll and functions to my windows ce exe file using iidking.
i like to know how can i manually do this,for example by using lordpe and puting it in the sections

and how can i know more about those thunkfirst,thunkvalues and ......

regards
[snapback]1003[/snapback]
LordPe allows you to add every dll/import function you want. If you want to do it by hand you should study documents about the PE structure. I've found a nice document:
http://elfz.laacz.lv/ms_exe_spec.html
there are also a lot of other good documents (O'Leary, Luevelsmeyer and so on), however it is just a strcture, and you find its definitions in winnt.h include file (search IMAGE_NT_HEADERS).
When you add a dll/import by hand you just have to modify and probably relocate the import table pointed by the data directory
Bye!
AndreaGeddon
Reply With Quote