I use an activex component in my C# program that was created with Delphi. It works fine a lot of the time, but occasionally (sometimes frequently!) the component crashes with this exception:
Exception EOSError (A call to an OS function failed)(0)
which leaves the control in a somewhat unusable state until the program is restarted. There doesn't seem to be any rhyme or reason to be able to reproduce the error.
Any ideas?