|
-
Aug 16th, 2007, 12:09 AM
#1
Thread Starter
Addicted Member
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.
-
Aug 16th, 2007, 03:59 PM
#2
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
-
Aug 17th, 2007, 02:07 AM
#3
Thread Starter
Addicted Member
Re: How can i resolve "access violation reading Location" exception in VC++
Thanks ChemicalNova,
I will do accordingly.......
regards:
raghunadhs
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|