-
May 18th, 2009, 07:32 AM
#1
Exception Handling
Hi I am working on windows platform on networking using mutli threading
I have a problem with the locking Mechanism, I am getting a exception which i am not able to fix it
My exception as as follows:-
Unhandled exception at 0x7c918af2 in xxx.exe:0xc0000005: Access violation writing location 0x00000010
I have used the locking mechanism using
EnterCriticalSection(&Lock);
LeaveCriticalSection(&Lock);
where Lock is a variable local to the class
-
May 18th, 2009, 10:53 AM
#2
Re: Exception Handling
You have a bad object (or pointer, or variable, etc) somewhere. Step through your code, examine all your objects.
Viggy
-
May 19th, 2009, 01:55 AM
#3
Re: Exception Handling
Maybe you forgot to initialize the CriticalSection ?
Tags for this Thread
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
|