Click to See Complete Forum and Search --> : Assertion error while reading a exe file


Balasubramaniam
October 22nd, 1999, 03:01 PM
Hi can any one tell me how to read a exe file .I tried using CFile::Open(path,modeRead);
It was saying assertion but i want to know how read exefiles.
Thanking you
By Bala.J

Tomaz Stih
October 25th, 1999, 07:49 AM
1. If you read your documentation there is a line saying "One access permission and one share option are required" for CFile::Open,
2. Check to see if you have read access rights on your exe file.

Sincerely,
Tomaz

--- rating will attract gurus.