>>I'm getting this error only in development, in certain circumstances.
>>
>>Should I worry? :)
>
>Yes. Check very long discussion
>
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/6adca20b-649f-41a4-8fa1-09534882d76cCertainly a long discussion. But only one post of any merit (James Kovacs , 9/18/2006) and one section in there that shows why most other suggested solutions were not solutions at all:
"You will also see small changes (like changing compiler optimizations, or re-ordering instructions) cause code to start working. What you've done is mask the problem. The memory corruption is still occuring, it's just not occuring to a critical piece of memory such as a return address. You will likely see it re-appear later as you continue modifying the code"
I'll bet Marc's problem stems from the use of a COM object ( I could lose but the odds are in my favour)