Archived Forum Post

Index of archived forum posts

Question:

System.AccessViolationException in FetchMultiple !

Aug 27 '13 at 15:27

Hi guys, I am using chilkat to read all my emails... But I don't know why this error is occurring:

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at ClsMailMan.FetchMultiple(ClsMailMan , ClsStringArray , MailManCallback* ) at Chilkat.MailMan.FetchMultiple(StringArray uidlArray) at XXXXXXXXXXXX() at XXXXXXXXXXXX() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C ontextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C ontextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

I think that this is happening when I try to call the method FetchMultiple(), but I'm not sure !

PS.: the methods XXXXXXXXXXXX() in the stack are private methods that I use in my company

.Net Version = 4.0 and System = Windows 64 bits

Thanks !!


Answer

Test with the very latest version of Chilkat to make sure the problem hasn't already been fixed. I suspect it's an already-fixed problem.


Answer

I changed the dll to the latest version... The thing is that I cannot debug the code with this dll.

I'll need to do a new deploy to test if this version of Chilkat fixes my bug, I will do it today and after that I'll inform if it worked or not.

Thanks.