Access violation error

Discussion in 'MFC' started by answerme, Mar 18, 2010.

  1. answerme

    answerme New Member

    Joined:
    Dec 17, 2007
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    0
    Hi

    I get an access violation error. It is a run time error; the program compiled bug free. The program even runs .Its just when iam returning value to the function Iam getting that error at runtime ie Access violation reading location 0x000000000001

    Dont know whats the problem. Any help will help me to go forward
     
  2. Gene Poole

    Gene Poole New Member

    Joined:
    Nov 10, 2009
    Messages:
    93
    Likes Received:
    5
    Trophy Points:
    0
    You're probably derefrencing a NULL pointer. Without any code, diagnosis is impossible.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice