Click here to Skip to main content
15,919,613 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys,
I want to read the PE information from specific exe file, and this required to read from specific address from the file and must specify the length of the data required to read.

So, How can I read from specific address from the file?

The reason of my demand is to save memory. ( I want to store the data in the stack)
Note: the function I used is ReadFile() and CreateFile().
Posted
Updated 6-May-13 20:12pm
v2

1 solution

Quote:
So, How can I read from specific address from the file?
Using SetFilePointerEx[^] function.

Quote:
and must specify the length of the data required to read
That's provided by ReadFile function.
 
Share this answer
 
Comments
Rasool Ahmed 7-May-13 2:15am    
Thanx
CPallini 7-May-13 2:22am    
You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900