I want to write a C++ program which does the following
input- executable files
output-yes/no
condition:
if(if all the dlls imported by my executable are registered with my system )
yes
else
no
so I need to know
1)how to write a custom registration system which can allows dlls to register and keep track of the registered ones
2)how to look into PEs of my input files to get imported dll info
3)how to check for the condition proposed above
I know dumpbin and depends.exe gives me the soln to point 2 above. But i want to do it in my program. I was told that i need to map the PEs to SEC_IMAGE and parse it, given that i want to look into PEs which are on my disk.is that right? I am an absolute windows newbie. Suggestions are welcome!!