Lock xadd
-
When debugging my program I receive an 'Unhandled exception in Kernel32.dll 0xC0000005 : Acces violation", and the debugger stops at the next instruction: lock xadd dword ptr[ecx], eax Any start point to find out the wrong code? Thanks.
-
When debugging my program I receive an 'Unhandled exception in Kernel32.dll 0xC0000005 : Acces violation", and the debugger stops at the next instruction: lock xadd dword ptr[ecx], eax Any start point to find out the wrong code? Thanks.
Look at the call stack. It looks like a code calling InterlockedExchangeAdd on a NULL pointer, but you may not be calling this directly, it may be a library or a function you're using. lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik