I am getting this error
First-chance exception at 0x0f7247b5 (StringLibrary.dll) in Librarian.exe: 0xC0000005: Access violation reading location 0x02e028b8.
And I assume it's in this piece of code - as I can set a break at the start of the routine - and it never arrives at the bottom of the routine.
I have never used TRY/CATCH statements - but why wouldn't this work - why is it not breaking in the CATCH?
I set a break at this line int s1 = nKeywordskt and at the s1 = 0; // dummy line and also at the errCode = errCode line.Code:try { int s1 = nKeywordskt; int s2 = s1; int s3 = 0, s4 = 0, s5 = 0, s6 = 0; int a = 0; . . . s1 = 0; // dummy line } catch (int errCode) { errCode = errCode; }
It breaks at the top - and never arrives at the bottom (getting the error noted at the top of this post instead).
But why does it not arrive in the CATCH??




Reply With Quote