Results 1 to 3 of 3

Thread: How can i resolve "access violation reading Location" exception in VC++

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Posts
    167

    How can i resolve "access violation reading Location" exception in VC++

    Hi all,
    i have developed a ".dll" in vc++, regarding to find out CRC32. and in my V.B 6.0 application i am calling that .dll.

    If i run my v.b application it is working means.. i am able to find crc also. where as if i run the .exe of my v.b application, a runtime error is coming. the error is like this....
    "Unhadled exception at 0x10001045(crc32example.dll) in latest.exe 0x0000005 Access violation reading locatioln 0x0017d000"

    Actually i am new to VC++. and i am unable to come to an understand why this is behaving like this. even though, v.b application is able to call .dll and able to work properly, the exe of v.b applicaiton is not working...

    could u please suggest me any way to resolve this issue....

    Thanks:
    regards:
    raghunadhs.

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: How can i resolve "access violation reading Location" exception in VC++

    Step through the code in the VC++ DLL. Make sure all of your variables are initialized, and make sure that you aren't reading past the end of a buffer.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Posts
    167

    Re: How can i resolve "access violation reading Location" exception in VC++

    Thanks ChemicalNova,
    I will do accordingly.......
    regards:
    raghunadhs
    Quote Originally Posted by chemicalNova
    Step through the code in the VC++ DLL. Make sure all of your variables are initialized, and make sure that you aren't reading past the end of a buffer.

    chem

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