CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    india
    Posts
    4

    Assertion error while reading a exe file

    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



  2. #2
    Join Date
    May 1999
    Location
    Slovenia (currently: Germany)
    Posts
    249

    Re: Assertion error while reading a exe file

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured